-
The following URL causes a node.js app to hang when matching using dom-parser.
DOM source from: https://www.ecosia.org/
I created a simple vanilla javascript match script and tested the web page…
-
This lexical grammar is ambiguous with only one character lookahead and no backtracking:
```rust
#[derive(Logos, Debug)]
enum Token {
#[error]
Error,
#[token("a")]
A,
…
-
It doesn't look like your scanner checks for regexes vulnerable to catastrophic backtracking (-> REDOS).
To do that you could use some tools I built [here](https://github.com/davisjam/vuln-regex-de…
-
**Do you have an idea to improve the project? Please describe.**
Exceptions should tell why a type is needed for injection.
Compelling example where the user has no clue what's wrong where
```
j…
-
Looks like the just-released Towncrier 24.7 has broken some API you're using:
```python-traceback
Running Sphinx v7.4.7
loading translations [en]... done
Converting `source_suffix = '.rst'` to `…
hynek updated
2 weeks ago
-
### What's the problem this feature will solve?
A common user complaint when heavily backtracking is downloading lots of large files
### Describe the solution you'd like
Currently PEP 658 has…
-
`Armorable.__armor_regex.search()` can run indefinitely on certain text. This appears to be a [catastrophic backtracking](https://www.regular-expressions.info/catastrophic.html) issue.
For example,…
-
If your data does not have either a speaker or a language column, but you say yes to that question, you get painted in a corner and you cannot recover. We should add a way to backtrack.
-
给定一个可包含重复数字的序列 nums ,按任意顺序 返回所有不重复的全排列。
示例 1:
> 输入:nums = [1,1,2]
> 输出:
> [[1,1,2],
> [1,2,1],
> [2,1,1]]
示例 2:
> 输入:nums = [1,2,3]
> 输出:[[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],…
-
This requires .NET 7. This would guarantee regex search times be linear, and most regexes should still work fine.