471,330 Members | 1,827 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

Using multiple RegexOptions

pl
Hello,

I have a quick question, I would like to use multiple RegexOptions like
RegexOptions.SingleLine and RegexOptions.IgnoreCase at the same time,
but I haven't been able to find any resource telling how to get the
syntax correct to make it happen.
Does anyone know?

Thanks.

Dec 29 '05 #1
1 12953
You OR them together:

RegexOptions.SingleLine | RegexOptions.IgnoreCase

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"pl" <ph*****@hotmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Hello,

I have a quick question, I would like to use multiple RegexOptions like
RegexOptions.SingleLine and RegexOptions.IgnoreCase at the same time,
but I haven't been able to find any resource telling how to get the
syntax correct to make it happen.
Does anyone know?

Thanks.

Dec 29 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by shuiqing.li | last post: by
1 post views Thread by GS | last post: by
19 posts views Thread by =?Utf-8?B?QnJpYW4gQ29vaw==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.