()
| 27 | |
| 28 | #[test] |
| 29 | fn test_assert() { |
| 30 | // pattern positive_lookbehind = re.compile(r'(?<=abc)def') |
| 31 | // START GENERATED by generate_tests.py |
| 32 | #[rustfmt::skip] let positive_lookbehind = Pattern { pattern: "(?<=abc)def", code: &[14, 4, 0, 3, 3, 4, 9, 3, 16, 97, 16, 98, 16, 99, 1, 16, 100, 16, 101, 16, 102, 1] }; |
| 33 | // END GENERATED |
| 34 | let (req, mut state) = positive_lookbehind.state("abcdef"); |
| 35 | assert!(state.search(req)); |
| 36 | } |
| 37 | |
| 38 | #[test] |
| 39 | fn test_string_boundaries() { |