in reply to regex 2 find C function dependencies
You have to? someone's specifically set you this task and told you to use Perl regular expressions to do it?I have to write a perl program that lists out all the functions in a given C source file
Finding balanced text is the number one item on the list of "Things You Can't Do With Regular Expressions". Maybe someone's trying to make a point?
($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex 2 find C function dependencies
by Abigail-II (Bishop) on Sep 19, 2003 at 06:59 UTC | |
by Cody Pendant (Prior) on Sep 19, 2003 at 23:31 UTC | |
by Abigail-II (Bishop) on Sep 20, 2003 at 00:02 UTC |