Add following function
This commit is contained in:
@@ -348,7 +348,7 @@ when isMainModule:
|
||||
let testSentenceStr = "This is a sentence\n\nFollowing another sentence."
|
||||
let testSentenceParser = initParserResult(testSentenceStr)
|
||||
|
||||
let testSentence1 = anyUntil(newline) + newline + newlineOrEol +
|
||||
let testSentence1 = following(@[anyUntil(newline), newline, newlineOrEol ]) +
|
||||
manyUntil(choice(@[letter, whitespace]), ch('.')) + ch('.') +
|
||||
newlineOrEol
|
||||
|
||||
|
||||
Reference in New Issue
Block a user