-
Couldn't load subscription status.
- Fork 50
Open
Description
I think maybe we should change the options that can even be used with regex parsing to exclude
multiline:logShow $ runParser "some\nvarious\nlines" (regexP "various$" *> PS.rest) (Right "rious\nlines")This is because it advances the
consumedparser position by the length of the first pattern match. It would need to be able to know the offset of that match as well as the length of it to updateconsumedcorrectly. We could get that through runningsearchtoo perhaps, but I think it would be nice to disallow flag(s) that don't make sense for a parser style definition.
Originally posted by @garyb in #232 (comment)
Should we forbid multiline? Should we make the multiline flag work properly?
Metadata
Metadata
Assignees
Labels
No labels