Jump to content
Muxe Inc Forums
Sign in to follow this  
dandv

Crash on simple Regular Expression search

Recommended Posts

dandv    0

Searching in ANY editor or viewer for a single * with Regexes enabled

will crash NDN. I didn't paste the error box because the Line was

random anyway :-)

 

Hope this helps,

Dan Dascalescu

Share this post


Link to post
Share on other sites
dandv    0

Hi AH,

 

Any of the * and + quantifiers not preceded by something to quantify will produce a crash.

Examples:

 

*

*aaa

aaa(*B)

+

+aaa

aaa(+B)

 

Hope that helps,

Dan

Share this post


Link to post
Share on other sites
Garl    0

if you want find (sometext)aaa

you must use .*aaa in find dialog regexpr

 

and Stefan must check null-RegExpr Query

 

 

+ and * must use with '.' or ('sometext') or [char]

 

have fun!

Share this post


Link to post
Share on other sites
dandv    0
if you want find (sometext)aaa

you must use .*aaa in find dialog regexpr

 

+ and * must use with '.' or ('sometext') or [char]

Thanks for the insight, Garl! ;-)

 

If you are interested in some really complex regular expressions, you might want

to check out my Proxmail project, which makes heavy use of regular expressions.

See link in the sig :-)

 

Dan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×