Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decorateAtSign is awesome, but we need decorateYourSign #50

Closed
Abacaxi-Nelson opened this issue Dec 8, 2020 · 2 comments
Closed

decorateAtSign is awesome, but we need decorateYourSign #50

Abacaxi-Nelson opened this issue Dec 8, 2020 · 2 comments

Comments

@Abacaxi-Nelson
Copy link

Hi all,

Plugin is awesome !
For my use case, i need to decorate @ and +
So i have to tweak plugin code:

final hashTagAtSignRegExp = RegExp(
  "(?!\\n)(?:^|\\s)([+@]([$hashTagContentLetters]+))",
  multiLine: true,
);

It will be awesome to have a decorateYourSign => '+@' who decorate + and @

Thank you,
Nelson

@santa112358
Copy link
Owner

@Abacaxi-Nelson
Thank you for the request.
Now I am thinking about the feature that enables developers to change the regExp for detection without tweaking the package source code.

@santa112358
Copy link
Owner

@Abacaxi-Nelson
I published refinement of hashtagable: https://github.com/santa112358/detectable_text_field
Now you can customize regExp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants