Open insinfo opened 11 months ago
@insinfo from https://dart.dev/guides/libraries/library-tour:
Regular expressions The RegExp class provides the same capabilities as JavaScript regular expressions. Use regular expressions for efficient searching and pattern matching of strings.
Did you find anything different about dart regex? Or did you mean you just wanted a code generator for it?
what it says is to have a tab/flavor on the site regex101 dedicated dart regex with code generator
@insinfo Understood.
Can you please provide a working dart code example on how to run a regex and focus a bit on whether or not regex needs to be escaped in dart?
As far as the flavor, since it is the same engine as Javscript you can click ECMAScript (JavaScript)
flavor and you should be good to go. Then once we get a code generator going you can click Dart as the language there to have the regex ready/escaped for ya, if any escaping is needed at all.
please add support for dart language regex with code generator