Michael Schröpl: Knifflige RegEx

Beitrag lesen

Hallo Christian,

gerade wieder gesehen: /(b{2}|[^b]{2})/
Nein, das heisst in gesprochenem Englisch:
two b or not two b.

tut es das wirklich?

Ist die Bindung zwischen "not" und "b" nicht stärker als die zum "two"?

Viele Grüße
      Michael

--
T'Pol: I apologize if I acted inappropriately.
V'Lar: Not at all. In fact, your bluntness made me reconsider some of my positions. Much as it has now.
(sh:| fo:} ch:] rl:( br:^ n4:( ie:% mo:) va:| de:/ zu:| fl:( ss:) ls:~ js:|)
Auch diese Signatur wird an korrekt konfigurierte Browser gzip-komprimiert übertragen.