Search found 10 matches

by randomwanderer
Mon Dec 25, 2006 4:41 pm
Forum: General
Topic: book marking all lines of matched text. How?
Replies: 0
Views: 367

book marking all lines of matched text. How?

I constructed an RE to find:
===============================================
%DETECTED FAULTS:
OPEN: FL1P2P1
===============================================
$
^ *=*\n^ *%[a-z0-9: $]*\n^ *[a-z0-9: $]*\n^ *=*\n^ *\$

It works just fine.

All lines are highlighted as expected. BUT only the first ...
by randomwanderer
Sat Oct 22, 2005 2:25 pm
Forum: General
Topic: [:lower:] and [a-z] selects UPPERCASE letters!
Replies: 2
Views: 354

Such an obvious answer but I sure missed it

It never occurred to me that match case would have to be checked when I had regular expression checked and used the proper regex for lowercase. Totally counterintuitive to me!
Thanks for the answer.
I was thinking for hours about how I was going to work around the bug!
by randomwanderer
Sat Oct 22, 2005 1:35 pm
Forum: General
Topic: [:lower:] and [a-z] selects UPPERCASE letters!
Replies: 2
Views: 354

[:lower:] and [a-z] selects UPPERCASE letters!

This [:lower:] and this [a-z] will select uppercase letters.
Anybody know why in the heck that is?
What workaround is there to find lowercase letters?
Thanks
by randomwanderer
Fri Feb 18, 2005 2:31 pm
Forum: General
Topic: pause in a macro
Replies: 4
Views: 503

Chris

Chris,
Saw your post about Clipmate and use of macro.
Can you tell me if with Clipmate you can use a macro to search using Regex and capture many paragraphs to the clipboard? I looked at the Clipmate site and did not readily read about that capability.

Thanks,
Forrest
by randomwanderer
Mon Feb 14, 2005 4:13 pm
Forum: General
Topic: REGEX Capturing multiple lines
Replies: 13
Views: 2356

It works! of course I was doing it wrong..
Thought I had Posix on at home last night but I did not. Had only set it at work.
That led me to believe that it was not working because of the parentheses, which I removed. Worthwhile mistake for me though, I learned a lot from everyone's help.


Still ...
by randomwanderer
Mon Feb 14, 2005 12:12 am
Forum: General
Topic: REGEX Capturing multiple lines
Replies: 13
Views: 2356

I go from this:

C¬ Remove UUT power.¬ $¬ 55 REMOVE, DC SIGNAL USING '+30VDC_UUT',¬ VOLTAGE 30.0 V,¬ CURRENT MAX 1.0 A,¬ CNX HI J1-1 LO J1-5 $¬ 60 REMOVE, DC SIGNAL USING '+6VDC_UUT',¬ VOLTAGE 6.0 V,¬ CURRENT MAX 1.0 A,¬ CNX HI J1-4 LO J1-5 $¬ 65 REMOVE, DC SIGNAL ...
by randomwanderer
Sun Feb 13, 2005 3:00 am
Forum: General
Topic: REGEX Capturing multiple lines
Replies: 13
Views: 2356

Ed,
Thanks so much for the help! I now understand a lot more than before.
But
this part
,,,after the replacement trick perhaps you could try
search for
(\$[^$]+P2.46[^$]*\$)
replace with
\n\1\n

It looks like the intention is to find the pattern and then in front and back of it put carriage ...
by randomwanderer
Fri Feb 11, 2005 6:22 pm
Forum: General
Topic: Syntax Highlighting for Comments, in need of Help
Replies: 9
Views: 1455

Using ATLAS here

I have similar concern, want, problem... Been programming in ATLAS for years. Now on project with CASS test station using essentailly ATLAS 416.
Anyone doing something similar?
Forrest in Orlando, FL
by randomwanderer
Fri Feb 11, 2005 6:14 pm
Forum: General
Topic: REGEX Capturing multiple lines
Replies: 13
Views: 2356

Wow that totally worked!!

Thanks. I was trying to figure that out for 2 days. I will learn a lot more when I decompose it and figure how it works.

\$[^$]+P2.46[^$]*\$

But also why does that not work when I do a search in files? It seaches the file but says it was found once and then just lists the first line.
My goal is to ...
by randomwanderer
Thu Feb 10, 2005 7:09 pm
Forum: General
Topic: REGEX Capturing multiple lines
Replies: 13
Views: 2356

REGEX Capturing multiple lines

I am attempting to fully utilize regex.
But first can anyone tell me if the following is possible. In below I want to find P2.46 and then capture all characters between the previous $ and the next $


C THE FOLLOWING ROUTINE WILL STABILIZE THE DMM FOR VOLTAGE TRMS.
$
FOR, 'DMM STABILIZE' = 1 THRU ...