Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var re = new Regex(@"(?:\()((?:(?<p>\()|(?<-p>\))|[^()|]+|(?(p)(?!))(?<pipe>\|))*)(?:\))(?(p)(?!))(?(pipe)|(?!))");
- var matches = re.Matches("((((amusemen).emoadj().cap()(, (are we |arent we|I gather)|)?)");
- foreach (Match m in matches) {}
Add Comment
Please, Sign In to add comment