Skip to content

Commit

Permalink
Fix syntax regex
Browse files Browse the repository at this point in the history
  • Loading branch information
annda committed Oct 5, 2021
1 parent 8443d3a commit aee770c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function getSort()
*/
public function connectTo($mode)
{
$this->Lexer->addSpecialPattern('~~WATCHCYCLE.*~~', $mode, 'plugin_watchcycle');
$this->Lexer->addSpecialPattern('~~WATCHCYCLE.*?~~', $mode, 'plugin_watchcycle');
}

/**
Expand Down

0 comments on commit aee770c

Please sign in to comment.