-
some prototype code:
```python
import re
def convert_posix_to_python(posix_regex):
"""
Convert common POSIX regular expressions to Python regular expressions.
"""
# Dictiona…
-
Hello,
I've updated my environment to Python 3.12, from Python 3.11 and now see issues when escaping a regex string and pass it when instantiating a Rule object. It seems that this is due to a chan…
-
Update python regex pattern to the following:
```
VERSION_PATTERN = r"""
v?
(?:
(?:(?P[0-9]+)!)? # epoch
(?P[0-9]+(?:\.[0-9]+)*) # r…
-
**Describe the bug**
If a file has the name `enums.py` anywhere in the repository, the `lint` goal for any linter that uses `LintFilesRequest` will run twice.
I was able to reproduce this in a cle…
-
I'm frequently using regexr for checking my futore regex patterns before put them in code, would be good if you may add Python regex syntax to your site. Since I saw other language selection I think i…
-
`\w(?R)*\w` and `\w(?R)?\w` for "grtgt" returns "gr" and "tg".
They should find "grtg" as with "regex" for Python and JavaScript (with repeating regex many times instead of `(?R)`).
Additionally: …
-
03-regex-match.py please check this file as im getting error of match not found mybe match only checks at the starting of string
-
### Description
Documentation of Regex (Regular expression) Operations in Python.
### Domain
Python_Domain
### Type of Contribution
Documentation
### Code of Conduct
- [X] I follow [Contributin…
-
When i execute "python .\cli.py -o regex.json --regex -f C:\Users\user\Downloads\modsec-rules\rules\REQUEST-905-COMMON-EXCEPTIONS.conf" to try parse modsec rules and them break inside on of the rule l…
-
When executing the python script it never finds any file to download, I've tried changing the regex but it doesn't matter, it never finds anything:
Here's with the default filter:
And now wi…