Quantcast
Viewing latest article 3
Browse Latest Browse All 7

Answer by poke for Documentation for ?: in regex?

It's in the php manual, and I believe any other near-complete regular expression section for any language…

The fact that plain parentheses fulfill two functions is not always helpful. There are often times when a grouping subpattern is required without a capturing requirement. If an opening parenthesis is followed by "?:", the subpattern does not do any capturing, and is not counted when computing the number of any subsequent capturing subpatterns.

Source


Viewing latest article 3
Browse Latest Browse All 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>