🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8177

Re: Regular Expression and $

#8177
From: luca
Date: Fri, 03 Nov 2006 17:46
12 lines
827 bytes
I try and now i use
alert("a$Posb".replace(/\$Pos/gi,"!"));

in my original line i use:

re = new RegExp("\$Pos_x","gi")
MyString= MyString.replace(re , "!");

and in my computer it doesn't work

if it's true i found a bug
I'm luchy
Technical Details
Message-ID: <3bc22ba4.5@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossing
References: <3bc22ba4.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,c13ae6874b3af8e5
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: luca
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Regular Expression and $
Message-ID: <3bc22ba4.5@webcrossing.la2eafNXanI>
Date: Fri, 3 Nov 2006 09:46:16 -0800
References: <3bc22ba4.-1@webcrossing.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit