开发者

What does regex [\0-\uffff] capture?

As I开发者_如何学Python am reading through someone else's JavaScript, I encountered this regex charset:

[\0-\uffff]

What exactly is captured by this?


That logical group will match every Unicode character between null and 0xffff

Nothing will actually be captured. For that you will have to use ( and )


The set of characters whose code is within 0 to 0xffff.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜