[seed] Some simplifications to the REPL assignment regex
- From: Robert Carr <racarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Some simplifications to the REPL assignment regex
- Date: Mon, 11 May 2009 02:20:16 -0400 (EDT)
commit a214dc2f75493f8beb9d28bcc8309c8d80113797
Author: Robert Carr <racarr svn gnome org>
Date: Mon May 11 02:18:15 2009 -0400
Some simplifications to the REPL assignment regex
---
examples/repl.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/examples/repl.js b/examples/repl.js
index db5f66f..1e529e6 100755
--- a/examples/repl.js
+++ b/examples/repl.js
@@ -32,7 +32,7 @@ readline.bind('\t', function(){
readline.insert("\t");
});
-var re = /[^=<>*-^/]=[^=<>*-^/]\s*(\s*new\s*)?[^:punct:]|'|"+$/
+var re = /[^=<>*-^/]=[^=<>*-^/]\s*(new\s*)?[^:punct:]|'|"+$/
while(1){
try{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]