TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
I was referring more to the different processors' handling of multi-line
strings, greedy/non-greedy selectors, and backreferences.
They are all similar, but some functions just don't work when using the
command line, or in text editors that happen to allow regexp search and
replace.
-T
On Mon, Apr 29, 2013 at 1:55 PM, Andrew Warren <awarren -at- synaptics -dot- com>wrote:
> Brian -dot- Henderson -at- mitchell1 -dot- com [Brian -dot- Henderson -at- mitchell1 -dot- com] wrote:
>
> > 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.
>
> But that's not a difference between regex parsers; that double usage of
> "^" is common to all POSIX/Perl regular-expression parsers. If the "^" is
> the first character inside a pair of brackets, it means "match any
> character not within the brackets", but if the "^" is unbracketed it means
> "match start of line" (or start of string).
>
> -Andrew
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>From our sponsor Doc-to-Help: Want to see a Doc-To-Help web-based Help sample with DISQUS for user commenting?