Skip to content
Snippets Groups Projects
Commit 0e3f1bee authored by Wilke Pierre's avatar Wilke Pierre
Browse files

Correction de l'expression régulière pour les commentaires multi-ligne

parent 8a87987a
No related branches found
No related tags found
No related merge requests found
......@@ -105,11 +105,11 @@ let list_regexp : (regexp * (string -> token option)) list =
fun s -> None);
(Cat(keyword_regexp "/*",
Cat(
Star (Alt (
Cat (Star (Alt (
char_range (List.filter (fun c -> c <> '*') alphabet),
Cat (Star(char_regexp '*'),
plus(char_range (List.filter (fun c -> c <> '/' && c <> '*') alphabet)))
)),
)), Star (char_range ['*'])),
keyword_regexp "*/")),
fun s -> None);
(Cat (char_regexp '\'',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment