diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-11-09 10:41:00 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-11-09 10:59:41 -0700 |
commit | b33105db76e14fea2faebc1d7c20b4baf24440e2 (patch) | |
tree | 1fc45e2a5ac784dbbe908f5a5ba8457de36c0453 /regexec.c | |
parent | 0eac1e20b62b903f96f87a1a657203b8d3ae7d9e (diff) | |
download | perl-b33105db76e14fea2faebc1d7c20b4baf24440e2.tar.gz |
regexec.c: revise comment
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1567,10 +1567,12 @@ S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s, e = s; /* Due to minlen logic of intuit() */ } - /* XXX Note that we could recalculate e every so-often through the - * loop to stop earlier, as the worst case expansion above will - * rarely be met, and as we go along we would usually find that e - * moves further to the left. Unclear if worth the expense */ + /* XXX Note that we could recalculate e to stop the loop earlier, + * as the worst case expansion above will rarely be met, and as we + * go along we would usually find that e moves further to the left. + * This would happen only after we reached the point in the loop + * where if there were no expansion we should fail. Unclear if + * worth the expense */ while (s <= e) { char *my_strend= (char *)strend; |