Demonstration of using the look behind operators. More...
Go to the source code of this file.
Namespaces | |
examples.basics.look_behind | |
Variables | |
string | examples.basics.look_behind.title |
examples.basics.look_behind.api = Api() | |
string | examples.basics.look_behind.syntax |
string | examples.basics.look_behind.input_string = 'first line\nsecond line' |
examples.basics.look_behind.grammar = api.generate(syntax) | |
examples.basics.look_behind.parser = Parser(grammar) | |
examples.basics.look_behind.result | |
examples.basics.look_behind.end | |
Demonstration of using the look behind operators.
A demonstration of the positive (&&) and negative(!!) look behind operators.
Note that UDT and back referencing operators are not allowed in look behind mode.
Included is a demonstration of using anchors, operators that match only the beginning and ending positions of the input string.
Definition in file look_behind.py.