re-build
Version:
Building regular expressions with natural language
38 lines (31 loc) • 648 B
Markdown
Sono funzioni:
* RE
* matching
* then
* or
* oneOf
* and
* oneOrMore/noneOrOne/quantificatori
Come si riproduce RE("a").then("b") in IE8?
RE("a"), così come tutte le funzioni sopra, devono restituire un oggetto che possa avere accessor
Gruppo ridotto:
* alphaNumeric/digit/...
* ascii/codePoint/control
* group/capture/reference
Gruppo comune:
* Gruppo ridotto
* theEnd/theStart/wordBoundary
* exactly/atLeast/atMost...
* followedBy
## Cosa può seguire
* RE
* withFlags/globally/anyCase/...
* matching
* Gruppo comune
* matching, then, or
* Gruppo comune
* oneOf, and
* range
* Gruppo comune
* quantificatori
* Gruppo ridotto