Linked by Eugenia Loli on Sun 30th Jul 2006 20:57 UTC
.NET (dotGNU too) Regardless of what type of data you're working with or what kind of application you're creating, you will undoubtedly need to work with strings. No matter how the data is stored, the end user always deals in human-readable text. As such, knowing how to work with strings is part of the essential knowledge that any .NET developer needs to make rich and compelling applications. In addition to showing you how to work with strings in the .NET Framework, this chapter will also introduce you to regular expressions. Also, Jeff Cogswell explains how to use regular expressions to simplify and enhance the power of your programmatic string searching, matching, and replacing.
Thread beginning with comment 147725
To read all comments associated with this story, please click here.
Guilty
by TDavis on Mon 31st Jul 2006 02:27 UTC
TDavis
Member since:
2006-06-10

In my operating system, I have a "Grep()" command, but it doesn't do regular expressions (yet). It does do global find and replaces which is something I haven't seen implemented elsewhere, for some reason. You can change names of functions and stuff very easily. It has a handy flag "+l" which does a regular expression type thing -- checks before and after the match to see if an alphanumeric is present. This allows filtering to just whole labels, not matches in partital labels. In the editor, for example, you can change the name of a variable like "i" without screwing things up. I know you can do this with regular expressions, but it would be a pain.

http://www.losethos.com

Reply Score: -3