next up previous contents index
Next: Bulk Matching Up: Iterative Pattern Matching Previous: Iterative Pattern Matching   Contents   Index

Note:

To be able to iterate using next_match, the perl pattern must be global i.e., it must have the modifier `g' at the end (e.g., m/a.b*/g). Otherwise, next_match simply fails and only one (first) match will be returned.



Luis Fernando P. de Castro 2003-06-27