jsondocck: Require command is at start of line
This commit is contained in:
parent
49e5e4e3a5
commit
fd4a093a4e
2 changed files with 2 additions and 1 deletions
|
|
@ -154,6 +154,7 @@ impl CommandKind {
|
|||
static LINE_PATTERN: LazyLock<Regex> = LazyLock::new(|| {
|
||||
RegexBuilder::new(
|
||||
r#"
|
||||
^\s*
|
||||
//@\s+
|
||||
(?P<negated>!?)
|
||||
(?P<cmd>[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue