No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
If you don't want the whole file to be slurped in at once
you could, since lines of code are seperated by semi-colons in C, just use a semi-colon as an end-of-line indicator: local $/ = ';';. (only if it is not HW)Updated code that should not match ifs and such:
Hope this helped (and I hope your question was not HW, but for work, documentation or something similar as I suppose it to be). In reply to Re: regex 2 match C function
by CombatSquirrel
|
|