The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Programming Contest by EggHeadCafe ... just Regex?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jonathan Cogley

Posts: 56
Nickname: thycotic
Registered: Dec, 2004

Jonathan Cogley is the founder of Thycotic Software Ltd, a C# MVP and TDD evangelist.
Programming Contest by EggHeadCafe ... just Regex? Posted: Dec 8, 2004 11:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Jonathan Cogley.
Original Post: Programming Contest by EggHeadCafe ... just Regex?
Feed Title: Jonathan Cogley's Blog
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/jcogley/Rss.aspx
Feed Description: C#, Test Driven Development, Remote Scripting, CShark! :)
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Jonathan Cogley
Latest Posts From Jonathan Cogley's Blog

Advertisement

Rafael Munoz pointed me towards a Programming Contest By EggHeadCafe in his latest MVP Update Newsletter.  Reading through their criteria ...

<snip>
2. All occurrences of an in a sentence must be replaced by un.
3. Replace all occurrences of au in a sentence with oo
4. Inside any word (ie., after the first character):
replace all a's not followed by whitespace with the letter e. Thus, the word a by itself would not be translated to e
replace all o's in a word by u. Example: Doh becomes Duh.
</snip>

It sounds like a simple console application using a few Regular Expressions would do it ... (and obviously an adhoc test method to drive the results TDD style) ... am I missing something?

Read: Programming Contest by EggHeadCafe ... just Regex?

Topic: Updating VS.NET for December Yukon Bits Previous Topic   Next Topic Topic: Oracle and .NET

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use