hashTagRegExp top-level property

RegExp hashTagRegExp
final

Regular expression to extract hashtag

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

Implementation

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