Hi all!
I have been using regex for some time now in VB.Net, there I had to put a
Or between the options.
How do I have to do this with csharp?
Please help!
Yours,
Steve
Jon Skeet [C# MVP] - 28 Sep 2005 20:00 GMT
> I have been using regex for some time now in VB.Net, there I had to put a
> Or between the options.
> How do I have to do this with csharp?
Use the bitwise-or operator, which is |
RegexOptions.Compiled | RegexOptions.IgnoreCase etc.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Stefan - 28 Sep 2005 20:05 GMT
I just got an answer in german Newsgroup:
You have to use | for binary linkage
Thanks for all!
Steve
> Hi all!
>
[quoted text clipped - 6 lines]
> Yours,
> Steve