i have taken the complex number on line 1 i.e. complex.12 need to match this in a second file and print the line on which complex.12 appears.complex.12 .......... complex.10 ..........
however, not only does it match complex.12 in the second file but also complex.120/121 etc. How can i make the match more specific? Thanks$line = $. if (m/$complex/);
In reply to pattern match by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |