Chromium Code Reviews| Index: src/macros.py |
| =================================================================== |
| --- src/macros.py (revision 11415) |
| +++ src/macros.py (working copy) |
| @@ -197,6 +197,7 @@ |
| # Last input and last subject of regexp matches. |
| macro LAST_SUBJECT(array) = ((array)[1]); |
|
ulan
2012/04/23 16:59:23
We can avoid duplication:
macro LAST_SUBJECT(array
Erik Corry
2012/04/23 18:54:02
Done.
Erik Corry
2012/04/23 19:04:06
Spoke too soon. Our macro system is not advanced
|
| +const LAST_SUBJECT_INDEX = 1; |
| macro LAST_INPUT(array) = ((array)[2]); |
| # REGEXP_FIRST_CAPTURE |