Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Oct 7, 2024
1 parent b0bdf7f commit 3d35671
Show file tree
Hide file tree
Showing 8 changed files with 624 additions and 283 deletions.
6 changes: 6 additions & 0 deletions lib/src/compiler/tests/testdata/errors/138.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rule test {
strings:
$a = /abcd((efg){0,10000}){0,10000}/
condition:
$a
}
6 changes: 6 additions & 0 deletions lib/src/compiler/tests/testdata/errors/138.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
error[E014]: invalid regular expression
--> line:3:3
|
3 | $a = /abcd((efg){0,10000}){0,10000}/
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ regexp is too large
|
5 changes: 0 additions & 5 deletions lib/src/re/bitmapset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,6 @@ impl BitmapSet {
pub fn iter(&self) -> impl Iterator<Item = &usize> {
self.values.iter()
}

#[cfg(test)]
pub fn into_vec(self) -> Vec<usize> {
self.values
}
}

#[cfg(test)]
Expand Down
Loading

0 comments on commit 3d35671

Please sign in to comment.