hashTagRegExp top-level property

RegExp hashTagRegExp
final

Regular expression to extract hashtag from text

Supports English, Japanese, Korean, Spanish, Arabic, and Thai

Implementation

final hashTagRegExp = RegExp(
  "(?!\\n)(?:^|\\s)(#([$_HashTagContentLetters]+))",
  multiLine: true,
);