CommonRegex icon indicating copy to clipboard operation
CommonRegex copied to clipboard

A collection of common regular expressions bundled with an easy to use interface.

Results 22 CommonRegex issues
Sort by recently updated
recently updated
newest added

This library is great, but it was last published to pypi on August 29, 2014. Any chance we can get the lastest published on there?

I am attempting to parse the following test-data.txt with version commonregex==1.5.4: ```[email protected] 2523088780 social security number: 428-34-4474 this is far less expensive than the alternative 114 jeffery street usa ```...

3015 POE RD., HOUSTON, TX 77051 Do I need to do something first, or is this something that can be corrected in the street parser? Oh, the call I am...

I've been testing CommonRegex on several different card types and it seems like Diners club doesn't get detected.

I got this error on the most recent version of Commonregex (1.5.4): AttributeError: 'CommonRegex' object has no attribute 'po_boxes' My code just creates a parser object and tries to retrieve...

Traceback (most recent call last): File "csv_parse.py", line 14, in parsed_text = CommonRegex({row[2]}) File "/Users/mviraktamath/.pyenv/versions/3.8.6/lib/python3.8/site-packages/commonregex.py", line 53, in __init__ setattr(self, key, method()) File "/Users/mviraktamath/.pyenv/versions/3.8.6/lib/python3.8/site-packages/commonregex.py", line 39, in regex_method return [x.strip()...

I replaced settatr with an alternative of getting the attributes because using settattr doesn't play well with linters from the main attributes of the class.

Added a couple regular expressions that were useful for me. Thanks for the repo and hope this helps!

This does not account for dates such as ```6/21``` for June 21st.