summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2010-01-26 15:57:54 -0800
committerKaz Kylheku <kaz@kylheku.com>2010-01-26 15:57:54 -0800
commit1b2a7dc06a92c0098ecf279ec8e645b64dffdc36 (patch)
tree11a9a341407f2cba4354677d94476c0767190478 /regex.c
parenta0d9dcfe97e824e25174a3bfc9116e505eac0a51 (diff)
downloadtxr-1b2a7dc06a92c0098ecf279ec8e645b64dffdc36.tar.gz
txr-1b2a7dc06a92c0098ecf279ec8e645b64dffdc36.tar.bz2
txr-1b2a7dc06a92c0098ecf279ec8e645b64dffdc36.zip
Fix inaccurate comment.
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/regex.c b/regex.c
index 0c81c262..680224e6 100644
--- a/regex.c
+++ b/regex.c
@@ -1129,10 +1129,10 @@ static struct cobj_ops regex_obj_ops = {
static val reg_nullable(val);
/*
- * ``Compile'' raw regular expression to a form that is
- * easier to simulate by the derivative method.
- * The only thing we currently do here is replace character set regexps with
- * character set objects.
+ * ``Compile'' raw regular expression to a form that is easier to simulate by
+ * the derivative method. Here we currently replace character set regexps with
+ * character set objects, and also transform the nongreedy syntax into the more
+ * complex expression it represents.
*/
static val dv_compile_regex(val exp)
{