Re: RegEx Commands
Re: RegEx Commands
- Subject: Re: RegEx Commands
- From: Ken Grimm <email@hidden>
- Date: Mon, 06 Aug 2001 10:30:21 -0500
On 8/6/01 4:25 AM, Simon Topliss at email@hidden didst inscribe upon
an electronic papyrus:
>
But I can't find in the documentation examples of how to do a search that
>
spans two lines.
>
>
Simon
This is a "feature" of "Regular Expressions" (RegEX) in any form it takes
(one example: BBEdit's GREP engine).
They only work on SINGLE LINES. This is a concept that took me a while to
grasp and one I personally think is not a good thing. I would love to have
at least the option to search paragraphs and maybe even whole stories.
It is a concept that is entirely non-intuitive, especially for those of us
that learned search and replace techniques in the word processing world.
Almost anything can be accomplished though using techniques in BBedit's
manual and one of several excellent books on using GREP patterns, but again,
it is learning techniques seeing the text in a way that is non-intuitive for
the vast majority of us non-linear humans.
Ken