Yes, I parse the file line by line only but I unable to write the regular expression correctly.Which part of You certainly will not be able to do this correctly by looking it line by line do you fail to understand?
Can you give me the regular expression to solve my requirement.Which part of I seriously doubt you'll be able to remove comments from Ruby with a handful of simple regexes do you fail to understand?
In reply to Re^3: Regular expression..
by JavaFan
in thread Regular expression..
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |