diff --git a/femto.tal b/femto.tal index 50ffa54..6fd6621 100644 --- a/femto.tal +++ b/femto.tal @@ -4,7 +4,6 @@ ( see femto launcher script for more details ) ( TODO: ) -( - dollar ($) and caret (^) regex bug ) ( - get long line truncation/scrolling working ) ( - allow line numbers to be toggled off ) ( - open file command? ) @@ -1332,7 +1331,6 @@ ( ESC [ 1 m $ ESC [ 0 m ) @emit-red-dollar ( -> ) -( ,emit-red JSR emit-$ ,emit-reset JMP2 ) ,emit-red JSR emit-$ ,emit-reset JMP ( ESC [ 3 $x ; 7 m ) diff --git a/femto.txt b/femto.txt index e570ae2..65584d7 100644 --- a/femto.txt +++ b/femto.txt @@ -98,8 +98,9 @@ the following commands: - n (or C-s): move forward to the next match, if any - p (or C-r): move backwards to the previous match, if any -regex support is a work in progress, but basic regular expression syntax is -mostly working. +regex support is a work in progress, but basic regular expression +syntax is mostly working. -there are notable absences such as character classes (e.g. [] and [^]), -references to capture groups (e.g. \1), and repetitions (e.g. {n}). +there are notable absences such as references to capture groups +(such as \1), repetitions (such as {n} or {m,n}), and symbolic +character classes (such as \w or \s).