I think this should work... But don't quote me on that... I haven't tested
it or anything!
{U} ([Cc][Hh][Aa][Rr]{\*}{ \*}) | ([Ll][Oo][Nn][Gg]) |
([Ss][Hh][Oo][Rr][Tt]) | ([Ii][Nn][Tt])
where the \* symbolises a dereferenced *
I can't remember the symbols exactly, so I have used { } = optional, | = or,
[ ] = choose on or the other from inside
If this works, could you get back to me and let me know?
Good luck
--
Slade Squire
Programmer
Rectifier Technologies Pacific
Melbourne, Australia
SladeSquire@rtp.com.au
"Kevin Rea" wrote in message
news:7jBb7.16450$Iq4.5329573@typhoon.columbus.rr.com...
> Folks:
>
> "What is the Match Pattern regular expression to match any one of the
> following"
>
> UCHAR, ULONG, USHORT, UINT, char, long, short, in
t, char*, char *
>
>
> I currently have:
>
>
> [U*][cC|sS|iI|lL][hH|oO|nN][aA|oO|nN][(rR|tT|gG)*][(tT|gG)*]
>
>
> This only catches "USHORT" and not "UCHAR"; Please help, thanks!
>
>
> Kevin"
>
>
>