how do I use look-around? #841
-
|
let regex = regex::Regex::new(r"(?<=#{)[^{}]+(?=})").unwrap(); for item in regex.captures_iter(rule) { report: called ) why |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
|
how to fix |
Beta Was this translation helpful? Give feedback.
-
|
The first sentences of the docs for this crate address and explain why:
|
Beta Was this translation helpful? Give feedback.
-
|
fancy_regex |
Beta Was this translation helpful? Give feedback.
The first sentences of the docs for this crate address and explain why: