🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.mac.programmer.codewarrior
2 messages
2 total messages Started by Greg Bolsinga Mon, 18 Dec 2000 06:43
Regex bugs in CWPro6?
#1311
Author: Greg Bolsinga
Date: Mon, 18 Dec 2000 06:43
15 lines
1569 bytes
Hello-

1. Does CW's regex depend upon the file line ending (MacOS vs. UNIX)? I
don't believe it did previously. This: (<img.*>)\n<p>(.*)\n isn't found in a
MacOS file, but if I change the '\n' to '\r', it is found in the single file
find dialog.

2. With the exact same regex, and the same pattern in multiple files, the
Multiple Find Files won't find the regex. If I search within each file
individually with the exact same regex, it is found.

I don't know if #1 is a bug, but #2 definitely is. Has anyone else seen
this?

Later.
Re: Regex bugs in CWPro6?
#1312
Author: MWRon
Date: Tue, 19 Dec 2000 15:50
25 lines
1626 bytes
In article <B662F217.381B%bolsinga@io.com>, Greg Bolsinga
<bolsinga@io.com> wrote:


>1. Does CW's regex depend upon the file line ending (MacOS vs. UNIX)? I
>don't believe it did previously. This: (<img.*>)\n<p>(.*)\n isn't found in a
>MacOS file, but if I change the '\n' to '\r', it is found in the single file
>find dialog.
>
>2. With the exact same regex, and the same pattern in multiple files, the
>Multiple Find Files won't find the regex. If I search within each file
>individually with the exact same regex, it is found.
>
>I don't know if #1 is a bug, but #2 definitely is. Has anyone else seen
>this?

It looks like a bug to me, did you submit this?  I did if you didn't.

Ron

-- 
Metrowerks wishes you and yours
Seasons Greetings and Happy Holidays

Ron Liechty  MWRon@metrowerks.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads