Build, test, and debug regular expressions
This regex matches hashtags that include both Latin and Russian Cyrillic characters, numbers, and underscores. It specifically accommodates the Russian alphabet, including the letter 'ё', by expanding the standard word character class. The pattern requires the hashtag to start with a '#' followed by at least one alphanumeric or Cyrillic character, allowing subsequent hyphens. It is ideal for parsing or extracting hashtags from Russian social media content, such as VKontakte or Telegram messages, when using the global search flag.