Does the regex (?<char>\s\w+)\k<char> match the text "the theory"?
The book I'm reading says it does. I think it doesn't because it the word "the" doesn't have a space in front of it.
What say 开发者_如何学JAVAyou?
Yes. It's not an exact match, but it will capture theory (space theory)
.
精彩评论