Guest User

Untitled

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