Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Literal should be literal #2

Open
bruntonspall opened this issue Dec 21, 2009 · 0 comments
Open

Literal should be literal #2

bruntonspall opened this issue Dec 21, 2009 · 0 comments

Comments

@bruntonspall
Copy link
Owner

literal takes a string which needs to be regular expression escaped.
This doesn't make sense. The library should do the escaping for me, and allow a raw_regex method to add raw unescaped strings to the regex.
str(literal('.')) should return '.'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant