Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion string replace function

View parsed - Show only message text

Path: g2news1.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 12 Jan 2009 06:17:59 -0600
Return-Path: <ch...@idrsolutions.com>
X-Original-To: dev-tech-js-engine-rh...@lists.mozilla.org
Delivered-To: dev-tech-js-engine-rh...@lists.mozilla.org
X-Virus-Scanned: amavisd-new at mozilla.org
Date: Mon, 12 Jan 2009 12:17:57 +0000
From: chris idr <ch...@idrsolutions.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: rhino Dev <dev-tech-js-engine-rh...@lists.mozilla.org>
Subject: string replace function
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: dev-tech-js-engine-rh...@lists.mozilla.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: "Rhino, the Mozilla JS engine in Java"
	<dev-tech-js-engine-rhino.lists.mozilla.org>
List-Unsubscribe: <https://lists.mozilla.org/options/dev-tech-js-engine-rhino>, 
	<mailto:dev-tech-js-engine-rhino-requ...@lists.mozilla.org?subject=unsubscribe>
List-Post: <mailto:dev-tech-js-engine-rh...@lists.mozilla.org>
List-Help: <mailto:dev-tech-js-engine-rhino-requ...@lists.mozilla.org?subject=help>
List-Subscribe: <https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino>, 
	<mailto:dev-tech-js-engine-rhino-requ...@lists.mozilla.org?subject=subscribe>
Newsgroups: mozilla.dev.tech.js-engine.rhino
Message-ID: <mailman.1466.1231762679.4224.dev-tech-js-engine-rhino@lists.mozilla.org>
Lines: 21
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 63.245.208.166
X-AuthenticatedUsername: NoAuthUser
X-Trace: sv3-0j7v2GjuqcdECMWN7Kg5H/43feY74USurElTMbl8n2nRtcQ9UOih+i1ICfVcfGB+1ZuikGb/ltCjO4k!cE1KZjKNxK2BiamxqOs61kY58L4xwlOJATx4IpGpaKeRpbLQ4P1pHMC1cEYqF3VVXieYbruPvoQR!B8EhAAXDkIC+hVCM24aKIqjRXylZ6fnpR13c8NRVVlGhz7t1eQ==
X-Complaints-To: abuse@mozilla.org
X-DMCA-Complaints-To: ab...@mozilla.org
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39

Hi all,

can anyone tell me if rhino properly supports the replace function in
javascript, as i have an example and it doesn't seem to.

all it seems to do is redirect the call to java replace.

i have a replace(/,/gi,";");  (the g means replace all and the i means
ignore case)

can anyone tell me how to make this work properly, or when it might be
added.

if its not going to be added anytime soon, then could someone be kind
enough to tell me what to change in rhino itself so i can get it to
work, and i will submit my fix to you for inspection

regards
chris wade



Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google