As far as I can see from the docs, non-capturing groups are defined by (:? ), as in Java. (I believe it\'s the same underlying library).
However, this doesn\'t seem
It seems like you've got the syntax wrong. Should be (?:).
http://docs.oracle.com/javase/tutorial/essential/regex/groups.html
Groups beginning with (? are pure, non-capturing groups that do not capture text and do not count towards the group total.