-
Notifications
You must be signed in to change notification settings - Fork 504
Home
snapclub2014 edited this page Jan 28, 2014
·
22 revisions
Here you can find the API documentation for Verbal Expressions
Verbal Expressions is a small JavaScript library that allows you to write regular expressions in natural language. Cars
Basic usage of Verbal Expressions is through a singleton, called VerEx()
, that creates a new expression for you:
var myExpression = VerEx();
##API
- .anything()
- .anythingBut( value )
- [.endOfLine()](wiki/.endOfLine())
- [.find( value )](wiki/.find(-value-))
- [.maybe( value )](wiki/.maybe(-value-))
- [.startOfLine()](wiki/.startOfLine())
- [.then( value )](wiki/.then(-value-))
- .any( value )
- .anyOf( value )
- [.br()](wiki/.br())
- [.lineBreak()](wiki/.lineBreak())
- [.range( from, to)](wiki/.range())
- [.tab()](wiki/.tab())
- [.word()](wiki/.word())
- .withAnyCase()
- .stopAtFirst()
- .searchOneLine()
- .replace( source, value )
- [.add( expression )](wiki/.add(-expression-))
- .multiple( value )
- [.or()](wiki/.or())