diff options
-rw-r--r-- | src/pyparsing.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pyparsing.py b/src/pyparsing.py index e9842ab..f49a373 100644 --- a/src/pyparsing.py +++ b/src/pyparsing.py @@ -3092,14 +3092,12 @@ class LineStart(_PositionToken): Example::
- test = """\
+ test = '''\
AAA this line
AAA and this line
-
AAA but not this one
-
B AAA and definitely not this one
- """
+ '''
for t in (LineStart() + 'AAA' + restOfLine).searchString(test):
print(t)
|