No tests/examples for mkRegexQQ? Plus some other functions missing tests #5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Are there any tests or examples showing
mkRegexQQin use? I looked but couldn't see any.There also don't seem to be tests or examples for:
scanO,scanRangesO,subO,gsubO,splitO,compileM(when used with a non-empty list ofPCREOptions), andrawSub. I am sure their use is obvious to someone already familiar with the package, but for a newcomer, it's really helpful if thorough examples can be included.reitself is an example ofmkRegexQQ, naturally:So if you have a need to provide custom
PCREOptions other thanutf8, you can make your ownre. If you don't, just don't worry and pretend it does not exist.Sure! Feel free to submit a patch adding them (:
IIRC, I never came up with any examples because I never had a need to use any of the options. All of this was designed very "inside-out", not "outside-in", i.e. there is a way to pass options just because the underlying library has them, not because anyone in particular had a practical need to use them.