Adding code to indicate subexpression numbers

This commit is contained in:
Jeff Avallone
2014-12-10 06:18:55 -05:00
parent 4a8103f404
commit 60d7cab504
3 changed files with 14 additions and 2 deletions
+2
View File
@@ -87,6 +87,8 @@ export default class Regexper {
snap.selectAll('g').remove();
parser.resetGroupCounter();
return Q.fcall(parser.parse.bind(parser), expression)
.then((result) => {
result.container = snap.group();