简体   繁体   中英

SciTE Regex, Match expression between x and y times eg \w*{x,y}

How can I use SciTE to match a word character between 1 and 7 times?

normally it would be

\w{1,7}

I don't think it can be done that way in SciTE.

Maybe: \\w\\w?\\w?\\w?\\w?\\w?\\w?

It does not support that syntax, you can view the docs here . As activa said, the only way to do it seems to be \\w\\w?\\w?\\w?\\w?\\w?\\w?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM