Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #40912
| Path | csiph.com!news.mixmin.net!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail |
|---|---|
| From | "R.Wieser" <address@not.available> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: trying to match a "word", having difficulty with a "Lookbehind assertion" |
| Date | Thu, 16 Jun 2022 21:18:31 +0200 |
| Organization | Aioe.org NNTP Server |
| Lines | 54 |
| Message-ID | <t8fvmf$1ogl$1@gioia.aioe.org> (permalink) |
| References | <t6aath$15hc$1@gioia.aioe.org> <628b4693-e733-4d3d-bd00-8ab522e92262n@googlegroups.com> <t8c2q9$p06$1@gioia.aioe.org> <5844f300-546d-48a5-884f-f10c2078b084n@googlegroups.com> <t8dekk$egm$1@gioia.aioe.org> <0ac3789b-098e-4787-96c2-c5dd07b7629dn@googlegroups.com> <t8elgm$m2f$1@gioia.aioe.org> <6f36fa56-ab24-4ddc-9040-ea3c178b1546n@googlegroups.com> |
| Injection-Info | gioia.aioe.org; logging-data="57877"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; |
| X-MSMail-Priority | Normal |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.5512 |
| X-Priority | 3 |
| X-RFC2646 | Format=Flowed; Original |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5512 |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| Xref | csiph.com comp.lang.javascript:40912 |
Show key headers only | View raw
Scott, >> Ask yourself : does your approach solve the "this is a clbuttic mistake" >> problem ? ... > I don't think that anything can comfortably reverse the clbuttic > mistake. Than start with thinking how *not* to make it. 'Cause /that is all/ what my problem is about. I've already tried to explain it, but here it goes again : * * * * * * * * * * * * * * When I'm replacing all instances of "ass" in a piece of text I DO NOT WANT to see "classic" being converted into "clbuttic". * * * * * * * * * * * * * * Replace "ass" with "d***" and "classic" with "g**d***" and you have my example of two posts back. > What I think you're doing is trying to find a way to reverse the manual > censoring of, say, `g**d***` which is too unlikely to be intended text, > and > restore `goddamn` Manual or not, yes, that is indeed what I'm doing ... .... And *not at all* what my question is about. > No, but there is are different ways to answer the questions, "How do I > solve this real world problem?" and "How can I best use regex to solve > this problem?" The problem with the above is that you are second-guessing what I "really" want to know. Don't. > Finally, here's another attempt, using a combination of a negative > look-behind before the target and a negative look-ahead after it. Sigh. Look at the subjectline. What does that tell you ? Also take a quick peek at the last few lines of my second message. Regards, Rudy Wieser
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
trying to match a "word", having difficulty with a "Lookbehind assertion" "R.Wieser" <address@not.available> - 2022-05-21 11:20 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" The Natural Philosopher <tnp@invalid.invalid> - 2022-05-21 11:17 +0100
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" "R.Wieser" <address@not.available> - 2022-05-22 13:42 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" The Natural Philosopher <tnp@invalid.invalid> - 2022-05-22 13:03 +0100
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" "R.Wieser" <address@not.available> - 2022-05-22 17:42 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" The Natural Philosopher <tnp@invalid.invalid> - 2022-05-23 13:57 +0100
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" JJ <jj4public@gmx.com> - 2022-05-21 19:13 +0700
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" "R.Wieser" <address@not.available> - 2022-05-21 16:33 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" "R.Wieser" <address@not.available> - 2022-05-21 19:45 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2022-06-09 00:14 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" "R.Wieser" <address@not.available> - 2022-06-09 09:16 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2022-06-09 12:21 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" Scott Sauyet <scott@sauyet.com> - 2022-06-14 10:56 -0700
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" "R.Wieser" <address@not.available> - 2022-06-15 09:47 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" Scott Sauyet <scott@sauyet.com> - 2022-06-15 12:42 -0700
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" "R.Wieser" <address@not.available> - 2022-06-15 22:15 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" Scott Sauyet <scott@sauyet.com> - 2022-06-15 13:32 -0700
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" "R.Wieser" <address@not.available> - 2022-06-16 09:16 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" Scott Sauyet <scott@sauyet.com> - 2022-06-16 10:33 -0700
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" "R.Wieser" <address@not.available> - 2022-06-16 21:18 +0200
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" Scott Sauyet <scott@sauyet.com> - 2022-06-17 09:56 -0700
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" Кристьян Робам <ingel1983912@gmail.com> - 2022-06-16 23:34 -0700
Re: trying to match a "word", having difficulty with a "Lookbehind assertion" Härra Rabmo <ingel1983912@gmail.com> - 2022-07-06 09:13 -0700
csiph-web