× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 4/14/2016 5:12 PM, Vernon Hamberg wrote:
I have used back-references in the replacement text - $1 gets you the
first 1 - just tried in the search text.

This search text -

(r)[^r]+\1

got me strings that start with R and end with R and have at least 1
non-R in between. Case-insensitive in this case - heh!

So the marker for back reference is different for search text and for
replacement text - backslash for search, dollar-sign for replacement

How crazy is that!

The things one learns.
Or remembers, having forgot.
Thank you!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.