Volunteer .NET Evangelist

A well oiled machine can’t run efficiently, if you grease it with water.
  首页  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  Regular Expessions

摘要:Regex 101 Exercise I10 - Extract repeating hex blocks from a stringGiven the string: PCORR:BLOCK=V5CCH,IA=H'22EF&H'2354&H'4BD4&H'4C4B&H'4D52&H'4DC9; Extract all the hex numbers in the form “H’xxxx”--... 阅读全文

posted @ 2006-03-08 00:36 Sheva 阅读(697) 评论(2) 推荐(0)

摘要:After a long break, Eric is back, and continue his awesome Regex 101 Exercise series, in this exercise, the question Eric asks is:------------------------------------------------------------------... 阅读全文

posted @ 2006-03-01 21:22 Sheva 阅读(1368) 评论(0) 推荐(0)

摘要:In this episode, Eric asks us to replace space count with spaces:--------------------------------------------------------------------------------Given a string with embedded space counts: Indented... 阅读全文

posted @ 2006-02-15 20:03 Sheva 阅读(1517) 评论(0) 推荐(0)

摘要:In this exercise, Eric asks us to replace all html tag names with uppercase equivalent. My answer is based on Maurits' suggestion, that is to say using MatchEvaluator. MatchEvaluator enables yo... 阅读全文

posted @ 2006-02-07 23:03 Sheva 阅读(1539) 评论(3) 推荐(0)

摘要:Eric Gunnerson has come up with a great number of excellent regular expression exercises in his personal blog, and I will keep my blog sync with his whenever a new exercise is introduced there. ... 阅读全文

posted @ 2006-02-04 21:30 Sheva 阅读(335) 评论(0) 推荐(0)