Re: regex tutorial?

Subject: Re: regex tutorial?
From: beelia <beelia -at- gmail -dot- com>
To: Brian -dot- Henderson -at- mitchell1 -dot- com
Date: Mon, 29 Apr 2013 12:32:26 -0700

That character is often used in both ways in text processing - check any
Perl book. It is not editor-specific - both usages of ^ you cited are quite
common.

^ is indeed used for line beginnings, and (example - ^abc) for matching
anything but the characters that follow it.

BTW, I use vi, but I'm an old fashioned gal.

Cheers

Bee


On Mon, Apr 29, 2013 at 12:13 PM, <Brian -dot- Henderson -at- mitchell1 -dot- com> wrote:

> I'd like to second that sentiment. The tutorial is good as a general
> primer on the principals of RegEx, but individual programs and applications
> will vary in the ways regular expressions are created.
>
> For example, in the two main plain text editors I use:
> TextPad: ^ as the first character of an RE anchors the expression to the
> beginning of the line.
> EditPlus: ^ as the first character of an RE means none of the enclosed
> characters may match the target character.
>
> -Brian H.
>
> -----Original Message----- From: Tony Chung
>
> Becca,
>
> Just a caution, too, that while regexp uses fairly common syntax across
> the board, regexp features may be limited by the processor. The operating
> system, application, or language you will be using will dictate the regexp
> that can be used.
>
> -T
>
> --
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> From our sponsor Doc-to-Help: Want to see a Doc-To-Help web-based Help
> sample with DISQUS for user commenting?
>
> Learn more: http://bit.ly/13xpg5n
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> You are currently subscribed to TECHWR-L as beelia -at- pacbell -dot- net -dot-
>
> To unsubscribe send a blank email to
> techwr-l-leave -at- lists -dot- techwr-l -dot- com
>
>
> Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
> http://www.techwhirl.com/email-discussion-groups/ for more resources and
> info.
>
> Looking for articles on Technical Communications? Head over to our online
> magazine at http://techwhirl.com
>
> Looking for the archived Techwr-l email discussions? Search our public
> email archives @ http://techwr-l.com/archives
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>From our sponsor Doc-to-Help: Want to see a Doc-To-Help web-based Help sample with DISQUS for user commenting?

Learn more: http://bit.ly/13xpg5n

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-leave -at- lists -dot- techwr-l -dot- com


Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwhirl.com/email-discussion-groups/ for more resources and info.

Looking for articles on Technical Communications? Head over to our online magazine at http://techwhirl.com

Looking for the archived Techwr-l email discussions? Search our public email archives @ http://techwr-l.com/archives


References:
RE: regex tutorial?: From: David Artman
Re: regex tutorial?: From: Tony Chung
RE: regex tutorial?: From: Brian.Henderson

Previous by Author: regex tutorial?
Next by Author: Re: The "fundamentally trivial business [of] technical writing"
Previous by Thread: RE: regex tutorial?
Next by Thread: RE: regex tutorial?


What this post helpful? Share it with friends and colleagues:

Sponsored Ads


Sponsored Ads