🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8121

Regular Expression and $

#8121
From: luca
Date: Fri, 03 Nov 2006 15:49
6 lines
826 bytes
I whant replace $Pos with _X but when i use the Regular Expression it's understand "$" like "Matches end of input or line" try with "\$" or "/$" or "%24"(escape of "$") but it doesn't work

re = new RegExp("$Pos _x","gi")
MyString= MyString.replace(re , "X");

HAve some Idea?
Technical Details
Message-ID: <3bc22ba4.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossing

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!news2.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Regular Expression and $
Message-ID: <3bc22ba4.-1@webcrossing.la2eafNXanI>
Date: Fri, 3 Nov 2006 07:49:54 -0800
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit