tags:

views:

530

answers:

2

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

normally it would be

\w{1,7}
+3  A: 

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

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

Philippe Leybaert
this is very weird but it works atleast lol
Supernovah
Maybe add a \< at the start and a \> at the end. If matching whole words was the intent.
Tomalak
Actually the question mark doesn't seem to be supported either: http://www.nabble.com/Regex-search-replace:-%22-%22-does-not-work-td11981373.html
steamer25
+1  A: 

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?

Andrea Ambu