๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8412

Re: Is it possible to use variables in Regex?

#8412
From: Darryl_Zurn
Date: Thu, 12 Oct 2006 15:07
9 lines
972 bytes
I am interested in seeing your script.

I have a similar problem, where I have text in dozens of languages, delimited by language block strings like [en], [fr], [sv] etc.

So I'd like to use these blocks to let me set the 'appliedLanguage' of the text, up to the start of the next language block.

[en] English Text here [fr] Fran๏ฟฝais [de] Deutsch [fi] Suomi

Thanks
Technical Details
Message-ID: <3bc1dce1.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossing
References: <3bc1dce1.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,35e61f302ee28709
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII
From: Darryl_Zurn@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Is it possible to use variables in Regex?
Message-ID: <3bc1dce1.2@webcrossing.la2eafNXanI>
Date: Thu, 12 Oct 2006 08:07:40 -0700
References: <3bc1dce1.-1@webcrossing.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ecp.fr!news.stben.net!webcrossing