Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: src/macros.py

Issue 10184004: Fix some bugs in accessing details of the lastest regexp (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | src/runtime.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698