hyperscan icon indicating copy to clipboard operation
hyperscan copied to clipboard

做内容替换

Open lufb opened this issue 6 years ago • 2 comments

我想用这个库做内容替换,如果我在hs_scan的回调中,直接将内容替换掉,会不会导致正则匹配有问题

lufb avatar Oct 15 '19 08:10 lufb

Yes, the results are not guaranteed if you modified your input string at the middle of matching.

xiangwang1 avatar Oct 16 '19 01:10 xiangwang1

Btw: Its always a good idea to write in English rather than in Chinese.

ghcr avatar Jun 05 '20 11:06 ghcr