get shell("cmd.exe + params...")
never tried though...
cheers
Xavier
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday, January 08, 2003 1:31 PM
> To: [EMAIL PROTECTED]
> Subject: RE: r
--On Wednesday, January 08, 2003 09:11:05 -0600 Ken Ray
<[EMAIL PROTECTED]> wrote:
Sorry about that... hit the Send button too soon.
The key to remember in MC (after 2.4.2 where PCRE was added) is the
modifier "(?s)" which means to "treat the entire chunk of text as my
string, ignoring newline
> I ranted about this sometime ago but the phylosophy behind GREP in
> MC is for one liners "only" I was told...
This was true for MC up to 2.4.1, but in 2.4.2 when Scott put in PCRE, all
that changed. You can now use the "(?s)" modifier to treat a multilined
string as a single "chunk" for process
elps!
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
- Original Message -
From: "andu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 6:15 AM
Subject: regexp
> I need some help with
- Original Message -
From: "andu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 6:15 AM
Subject: regexp
> I need some help with matchChunk(). Here's the problem, I need to parse
> html pages for a certain chunk and replac
From: andu [mailto:[EMAIL PROTECTED]]
> Sent: 08 January 2003 13:15
> To: [EMAIL PROTECTED]
> Subject: regexp
>
>
> I need some help with matchChunk(). Here's the problem, I
> need to parse
> html pages for a certain chunk and replace it with an other.
> Unfortun
I need some help with matchChunk(). Here's the problem, I need to parse
html pages for a certain chunk and replace it with an other. Unfortunately
I cant use the good old "replace x with y in z" because the chunk sometimes
is on one line other times on many.
Here's an example:
Welcome
You're welcome, Sivakatirswami.
I, too, prefer to use regular expressions, and based much of my dissertation project years ago using Perl regExps in convoluted ways, but MC's regExp parser has some issues. That will be addressed in a future version, so a func call is more reliable a
on 10/4/01 7:15 PM, Ricardo at [EMAIL PROTECTED] wrote:
> function isWellFormedMailtoScheme email
> #- function isWellFormedMailtoScheme(email)
> # return TRUE if email is a legal email URI, else return FALSE
> # We are not actually *validating* the email address, only its syntax.
> # Per addres
At 5:19 PM -1000 10/3/01, Sivakatirswami wrote:
>It appears obvious that at least I have to "unspecialize" PERL special
>characters by removing the forward slashes for:
>@,[ and then the second
If I remember correctly, the regEx engine used in MetaCard has a doesn't properly
escape square brack
hen return false # empty hosts not allowed repeat with x = length(hostanddomain) down to 1 if not ("0123456789.-abcdefghijklmnopqrstuvwxyz_" contains char x of hostanddomain) \then return false end repeat return TRUEend isWellFormedMailtoScheme
Sivakatirswami <[EMAIL PROTECTED]&
Anyone have a set of regExp for use in a matchText function in MC to verify
an email address? I am converting some PERL form cgi's to Metatalk
scripts...all very easy with the exception of this one function.
The PERL script makes two matchText passes:
First: $
12 matches
Mail list logo