Page 1 of 1

underscore star

Posted: Tue Oct 05, 2010 1:51 am
by bintin
is _* a purely textpad feature? I haven't seen in it in regex tutorials

is it the same as a positive lookbehind of .*?

I can see it matches characters and leaves them there in any replace..useful..saves me from having to capture and reference, so as to keep it.

Posted: Tue Oct 05, 2010 6:19 am
by ben_josephs
I have no idea what you mean. _* has no special meaning; it matches any number of underscores, possibly none of them.

Posted: Thu Oct 07, 2010 10:14 am
by bintin
ah, my mistake.. a silly one. I saw a previous post whre you had _* then just noticed now you wrote replace _ with space.

and _* can have no effect 'cos when zero underscores..