Re101

Latest version: v0.4.0

Safety actively analyzes 687959 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.0

-------------------------------------
- Python < 3.6 compat:
- Removed use of f-strings
- Use typing.re.Pattern over re.Pattern
- Added requirements in addition to setup.py
- Added:
- US_ADDRESS
- LOOSE_EMAIL
- IPV6
- Received slight modifications for accuracy:
- Username/password patterns
- EMAIL

0.3.4

-------------------------------------
- Added LOOSE_URL_DOMAIN

0.3.3

-------------------------------------
- Removed NON_US_PHONENUM and added E164_PHONENUM. The latter is
more limited in scope.

0.3.0

-------------------------------------
- Introduced convention of UPPERCASE for re.Pattern constants
- email -> EMAIL
- mult_whitespace -> MULT_WHITESPACE
- mult_spaces -> MULT_SPACES
- word -> WORD
- adverb -> ADVERB
- moneysign -> MONEYSIGN
- ipv4 -> IPV4
- Renamed some top-level constants with `US_` prefix to indicate
that they are U.S.-centric:
- zipcode -> US_ZIPCODE
- state -> US_STATE
- nanp_phonenum -> US_PHONENUM
- All of the above "renames" will still be importable and functional,
but calling __getattr__ will issue a warning about the name change.
- New constants:
- PASSWORD
- USERNAME
- STRICT_SSN
- LOOSE_SSN
- STRICT_URL (replaces url)
- LOOSE_URL
- NON_US_PHONENUM
- CREDIT_CARD
- DOB
- US_PASSPORT
- New functions:
- extract_pw
- extract_un
- extract_dob
- extract_us_drivers_license (provisional implementation)
- Overhauled `test_101.py` to use `pytest.mark.parametrize`

0.2.0

-------------------------------------
- Moved the module's contents to from `re101/re101.py` to `re101/__init__.py`
- Added Number, Decimal, Integer classes

0.1.1

-------------------------------------
- Updated README

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.