Skip to content

Commit

Permalink
Make prefix examples available within the matching loop
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Jun 12, 2013
1 parent 3dfa6ce commit 84972a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subsection-identifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ function parse()
* Iterate through our regex candidates until we find one that matches (if, indeed, one
* does at all).
*/
foreach ($prefix_candidates as $prefix)
foreach ($prefix_candidates as $prefix => $prefix_members)
{

/*
* If this prefix isn't found in this section fragment, then proceed to the next
* prefix.
Expand Down

0 comments on commit 84972a7

Please sign in to comment.