Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RegExp problem

Status
Not open for further replies.

butler

MIS
Oct 12, 1998
88
0
0
US
Greetings,

I have a VB program that uses the clsRegExp from the 'Microsoft VBScript Regular Expressions 5.5'. I'm wondering if this is a bug?

I have this string: "here’s proof of what I’ve been saying"
And this expression: [\200-\377]

Basically what this does is scan email for ascii characters greater than 127. The string has 2 of these characters (’) and VB correctly identifies this as:

asc(’)=146
oct(asc(’))=222

which is all correct. But for some reason, the clsRegExp.text does not pick this up. It does pick up other out of range characters but not the (’).

Can anyone explain?

Thanks,
--bill
 
Interesting. That would seem to be a genuine bug...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top