Skip to content

Commit

Permalink
fix: limit to ascii
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Sep 27, 2019
1 parent 562c67d commit ee61509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/text_contains_organization.dart
Expand Up @@ -10,7 +10,7 @@ class TextContainsOrganization extends StatelessWidget {
TextContainsOrganization(this.text,
{this.style, this.overflow = TextOverflow.clip});

static final _reg = RegExp(r'@\S+');
static final _reg = RegExp(r'@[\x00-\x7F]+');

@override
Widget build(BuildContext context) {
Expand Down

0 comments on commit ee61509

Please sign in to comment.