Rego - A Go regular expression tester
文章推薦指數: 80 %
Rego. A Go regular expression tester. Your regular expression : Test string : rego. Find all submatch. Clear all fields. Match : rego. Match groups : ... Rego AGoregularexpressiontester Yourregularexpression: Teststring: rego Findallsubmatch Clearallfields Match: Matchgroups: # GroupName GroupMatch GoRegExpQuickReference(©Rubular) [abc] Asinglecharacterof:a,borc [^abc] Anysinglecharacterexcept:a,b,orc [a-z] Anysinglecharacterintherangea-z [a-zA-Z] Anysinglecharacterintherangea-zorA-Z ^ Startofline $ Endofline \A Startofstring \z Endofstring . Anysinglecharacter \s Anywhitespacecharacter \S Anynon-whitespacecharacter \d Anydigit \D Anynon-digit \w Anywordcharacter(letter,number,underscore) \W Anynon-wordcharacter \b Anywordboundary (...) Captureeverythingenclosed (a|b) aorb a? Zerooroneofa a* Zeroormoreofa a+ Oneormoreofa a{3} Exactly3ofa a{3,} 3ormoreofa a{3,6} Between3and6ofa Fullsyntaxreferenceathttp://code.google.com/p/re2/wiki/Syntax.GoRegExpdocathttp://golang.org/pkg/regexp/. BuiltbySteveDomin.InspiredbyRubular.Youcanfindthesourcesatgithub.com/stevedomin/rego.
延伸文章資訊
- 1regex101: build, test, and debug regex
Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python...
- 2About Validation (Regex) - Contentstack
- 3How Do I Test a Regular Expression? - RegexLand
- 4Rego - A Go regular expression tester
Rego. A Go regular expression tester. Your regular expression : Test string : rego. Find all subm...
- 5Regular Expression Tester - Rob Locher
* If you're looking for a .NET Regex tester, there's a crackerjack one here. Test String: Pattern...