diff options
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r-- | snakemake-mode.el | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el index 512b103..4272f26 100644 --- a/snakemake-mode.el +++ b/snakemake-mode.el @@ -78,12 +78,10 @@ (zero-or-more space) (or (and (group symbol-start (or "rule" "subworkflow")) " " - (group (one-or-more (or (syntax word) (syntax symbol)))) - (zero-or-more space) - ":") - (and (group symbol-start "rule") - (zero-or-more space) - ":"))) + (group (one-or-more (or (syntax word) (syntax symbol)))) ) + (group symbol-start "rule")) + (zero-or-more space) + ":") "Regexp matching a rule or subworkflow.") (defconst snakemake-toplevel-command-re |