summaryrefslogtreecommitdiff
path: root/snakemake-mode.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-05-03 02:19:14 -0400
committerKyle Meyer <kyle@kyleam.com>2016-05-03 02:24:00 -0400
commit2e659ce0982c07c79bccc7ac322444a6f97179ee (patch)
tree5e163efd98d60d4b52f853bf450b3a5c9e00e055 /snakemake-mode.el
parent5350b3b4e88e29ce4c51c97f2638e0e9f794b7cf (diff)
downloadsnakemake-mode-2e659ce0982c07c79bccc7ac322444a6f97179ee.tar.gz
Be more lenient with spacing in regexps
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r--snakemake-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 9c47afe..ab4549b 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -95,7 +95,7 @@
"onsuccess"
"ruleorder"
"workdir"))
- ":" (zero-or-more space))
+ (zero-or-more space) ":")
"Regexp matching other toplevel commands aside from 'rule'.")
(defconst snakemake-field-key-re
@@ -118,7 +118,7 @@
;; Keys for subworkflow blocks
"snakefile"
"workdir"))
- ":")
+ (zero-or-more space) ":")
"Regexp matching a rule or subworkflow field key.")
(defconst snakemake-field-key-indented-re
@@ -128,7 +128,7 @@
(defconst snakemake-builtin-function-re
(rx (group symbol-start
(or "expand" "shell" "protected" "temp" "dynamic" "touch"))
- "(")
+ (zero-or-more space) "(")
"Regexp matching a call to a builtin Snakemake function.")