开发者

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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜