Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #40910

Re: trying to match a "word", having difficulty with a "Lookbehind assertion"

From "R.Wieser" <address@not.available>
Newsgroups comp.lang.javascript
Subject Re: trying to match a "word", having difficulty with a "Lookbehind assertion"
Date 2022-06-16 09:16 +0200
Organization Aioe.org NNTP Server
Message-ID <t8elgm$m2f$1@gioia.aioe.org> (permalink)
References (1 earlier) <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>

Show all headers | View raw


Scott,

> I'm not sure what is meant here by "yet" and "already".  Is there some
> temporal change at play?

The searchwords are added (by me) as I encounter them.

> Or possibly a few such examples?

Of what ?    I've given several examples (of the basic problem and how your 
approach does not quite work), but those are not the ones you seem to need.

> I'm now getting intrigued, but I still don't really understand the 
> problem.

Ask yourself : does your approach solve the "this is a clbuttic mistake" 
problem ?

'Cause *that* is what I am after - just not for regular words as recognised 
by a RegExp (see "\w", "\W", "\b")

> Also, is this an attempt to solve a real-world problem or is mostly a way
> to noodle with more advanced regexes?

Yes ...

https://notalwaysright.com/some-people-shouldnt-be-allowed-to-drive-or-go-out-in-public/258702/

... and yes

Discovering/learning how to solve certain problems is never wasted time to 
me.


Also, do notice that I provided the correct solution in my first post. 
Only later I found out that the "look behind assertion" method itself isn't 
recognised by my FF v52 browsers JS. :-\

Regards,
Rudy Wieser

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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