Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / August 2003

Tip: Looking for answers? Try searching our database.

Regex (?(expression) yes|no)  How to use this?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Edu - 31 Jul 2003 07:41 GMT
Hi ,
I need an exemple of how to use these following 2 Alternation Construncs:

(?(expression)yes|no)
(?(name)yes|no)

Source:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/c
pconalternationconstructs.asp


I'm trying to understand how to use them but no luck so far. An exemple may
help me out.

Thanks,
Edu
Dino Chiesa [MSFT] - 01 Aug 2003 03:12 GMT
Regular Expressions are a language in themselves, and the syntax can be
daunting, at first.  For anyone who is using Regex in the .NET Framework, I
always recommend getting one of the visual Regex tester tools.

- Regex Designer - by Chris Sells
http://www.gotdotnet.com/Community/Workspaces/Workspace.aspx?id=01e0dfb7-0182-45
cd-94f7-2ed2df2504a9

check out this picture of the UI:
http://www.sellsbrothers.com/tools/index.1.jpg

- RegEx, by Gerry Shaw
http://www.organicbit.com/regex/fog0000000019.html

Both of the above include source code, for those who are interested.  They
are
primarily useful as tools to build and test regex's that you can then
include into
apps.

-Dino

> Hi ,
> I need an exemple of how to use these following 2 Alternation Construncs:
[quoted text clipped - 3 lines]
>
> Source:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/c
pconalternationconstructs.asp


> I'm trying to understand how to use them but no luck so far. An exemple may
> help me out.
>
> Thanks,
> Edu

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.