Yes, that's correct, if the content string matches your regex, of course.
Capture \0 or the 0-th capture is always the entire string. People generally use \1, \2 and so on to refer to what's been captured from a string using regex along with ( and ) round brackets, but technically the capture numbering starts from \0, which is the whole string, and which works even if you don't use round brackets to capture something.
Capture \0 or the 0-th capture is always the entire string. People generally use \1, \2 and so on to refer to what's been captured from a string using regex along with ( and ) round brackets, but technically the capture numbering starts from \0, which is the whole string, and which works even if you don't use round brackets to capture something.
Statistics: Posted by Yincognito — Today, 3:41 pm