Re: ReadAll and RegExp



"kstulce" <kstulce@xxxxxxxxx> wrote in message
news:1121977677.882044.298610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Have you used Regular Expressions in a VBScript? I purchase the
> program "RegExBuddy" to help me learn how to create the patterns, based
> upon a text file, but the patterns that I have come up with, i.e.
> re.Pattern = "(\r\n\x20)([A-Z\d]{12,18})", don't seem to be working,
> even though I'm using expressions straight out of the VBScript CHM
> manual from M$. This expression works fine in RegExBuddy, but doesn't
> work in the script. I can use a pattern like "c." and it will pull up
> a bunch of stuff.

I don't quite understand what the pattern you are looking for is. Please
describe in detail what you expect your pattern to match. Give a few
examples of what should match and what should not?


.



Relevant Pages

  • Re: [SLE] Postfix - Sandy - 1 more Q re: /etc/postfix/recepient_check
    ... I'm a little hesitant to answer, because I'm not sure what "regular" means in this case. ... Regular expressions are an absolute must for adminstrators. ... You will encounter these pattern matching expressions in most scripting and programming languages. ... Additionally it will use the content in the round brackets as $1, $2 (content of first found expression in brackets, second found... ...
    (SuSE)
  • Re: HOF implementation of "until"
    ... "Patterns appear in lambda abstractions, function definitions, pattern bindings, list ... comprehensions, do expressions, and case ... as described in figures 3.1 and 3.2 from the Haskell report. ...
    (comp.lang.functional)
  • Re: Regular Expression question
    ... I want to use the Regular Expressions MatchCollection to match multiple ... I want to match the pattern that looks like "Word, ... Quantifiers in regex are gready by default - in other words, ... to tell the regex engine to not be gready, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: [SLE] Postfix - Sandy - 1 more Q re: /etc/postfix/recepient_check
    ... I'm a little hesitant to answer, because I'm not sure what "regular" means in this case. ... Regular expressions are an absolute must for adminstrators. ... You will encounter these pattern matching expressions in most scripting and programming languages. ... Additionally it will use the content in the round brackets as $1, $2 (content of first found expression in brackets, second found... ...
    (SuSE)
  • Re: Regular Expression question
    ... I want to use the Regular Expressions MatchCollection to match multiple ... I want to match the pattern that looks like "Word, ... Dim matches As MatchCollection = reg_exp.Matches ...
    (microsoft.public.dotnet.languages.vb)