• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: RegEx Commands
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: RegEx Commands
      • From: "Lindsey Dubb" <email@hidden>
References: 
 >RegEx Commands (From: Simon Topliss <email@hidden>)

  • Prev by Date: Re: Using class date in BBEdit
  • Next by Date: Re: Excel question
  • Previous by thread: Re: RegEx Commands
  • Next by thread: Re: RegEx Commands
  • Index(es):
    • Date
    • Thread