underscore star

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
bintin
Posts: 14
Joined: Tue Jun 01, 2010 1:33 pm

underscore star

Post 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.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

I have no idea what you mean. _* has no special meaning; it matches any number of underscores, possibly none of them.
bintin
Posts: 14
Joined: Tue Jun 01, 2010 1:33 pm

Post 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..
Post Reply