Search found 5 matches

by tn7077
Tue Oct 16, 2007 7:12 pm
Forum: General
Topic: Why RE "137[^\x5d]" found pattern "137]"
Replies: 6
Views: 1035

Appreciate the info.
by tn7077
Tue Oct 16, 2007 3:46 pm
Forum: General
Topic: Why RE "137[^\x5d]" found pattern "137]"
Replies: 6
Views: 1035

Thanks, Ben.

Here's what I learned then:

1. "\" in [] is a literal "\", not an Esc character.

2. It looks to me that
to find "137[", one uses RE "137\["
to find "137]", one uses RE "137]"

Question: when does one need to use "\x<hexdigit><hexdigit>"?
an example would be appreciated.

Thanks ...
by tn7077
Tue Oct 16, 2007 1:22 am
Forum: General
Topic: Why RE "137[^\x5d]" found pattern "137]"
Replies: 6
Views: 1035

Why RE "137[^\x5d]" found pattern "137]"

My file contained the following 2 lines:
1. source\fi_output_msg.c(408): case INTERROGATE_TRK_REQ_FC: /* fUNCTION CODE 137 */
2. source\library_lookup.c(779): 5142, /* itbl_atan[ 0][137] */

I used POSIX regular expression and found the following:
a. RE "137\x5d" found "137]" in line 2 as ...
by tn7077
Tue Sep 26, 2006 7:12 pm
Forum: General
Topic: RE "STANDALONE[^_]" not working
Replies: 2
Views: 580

Thanks, Ben.
by tn7077
Tue Sep 26, 2006 6:30 pm
Forum: General
Topic: RE "STANDALONE[^_]" not working
Replies: 2
Views: 580

RE "STANDALONE[^_]" not working

I used RE "STANDALONE[^_]" (RE enabled in the Find menu) to search.
The problem is that "STANDALONE" is not found if it is at the end of a line.

For example,
#define STANDALONE
#define INCLUDE_STANDALONESYM_TBL

With RE "STANDALONE[^_]", "STANDALONE" is found for the second line only.

Is this a ...