import { VerbalExpression } from "https://deno.land/x/nonstd@v0.2.2/src/Expressions/VerbalExpressions.ts";
Define the VerbalExpression class
Methods
Add stuff to the expression and compile the new expression so it's ready to be used.
Add a regex modifier/flag
Shorthand for anyOf(value)
Match any of the given characters
Any character any number of times
Anything but these characters
Starts a capturing group
A shorthand for lineBreak() for html-minded users
Match a single digit
Ends a capturing group
Control end-of-line matching
Alias for then() to allow for readable syntax when then() is the first method in the chain.
Match a Line break
Add optional values
Match the value zero or more times
Ensure that the parameter does not follow
Repeat the previous at least once
Add alternative expressions
Matching any character within a range of characters Usage: .range( from, to [, from, to ... ] )
Remove modifier
Repeat the previous item exactly n times or between n and m times
Shorthand function for the string.replace function to allow for a more logical flow
Control the multiline modifier
Any character(s) at least once
Any character at least one time except for these characters
Control start-of-line matching
Default behaviour is with "g" modifier, so we can turn this another way around than other modifiers
Match a tab character
Look for the value passed
Convert to RegExp object
Match a single whitespace
Control case-insensitive matching
Match any alphanumeric