Path: csiph.com!news.mixmin.net!aioe.org!news.mb-net.net!open-news-network.org!.POSTED.178.197.204.129!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: trying to match a "word", having difficulty with a "Lookbehind assertion" Date: Thu, 09 Jun 2022 12:21:01 +0200 Organization: PointedEars Software (PES) Lines: 17 Message-ID: <1986577.oMNUckLgyt@PointedEars.de> References: <2652883.mvXUDI8C0e@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Info: gwaiyur.mb-net.net; posting-host="178.197.204.129"; logging-data="1827444"; mail-complaints-to="abuse@open-news-network.org" User-Agent: KNode/4.14.10 Cancel-Lock: sha1:ipQOTJCmQ1iZO+Zn1BvWPmDJhSc= X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. JJ wrote: >> On Sat, 21 May 2022 11:20:22 +0200, R.Wieser wrote: > > […] > The same problem leads to a program logic problem (although not a syntax > error, which is why it is not so easily spotted) in the following line: > >> RegExp("\ \b"+escapeRegExp(find)+"(?=[^a-zA-Z\*])",'gi') Sorry for the wrong quotation level, it should have been two “>” originally. -- PointedEars | Twitter: @PointedEars2 Please do not cc me. /Bitte keine Kopien per E-Mail.