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

8.1.0.0.1 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.



Terrance Swift 2007-10-06