Capturing groups in a regex are numbered sequentially, whether they are in a branch or not. It is possible that a group corresponds to null when a match was successful, since a different branch from the group's was used.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

To prevent automated spam submissions leave this field empty.