Commit e3230859 authored by Kiyoshi Aman's avatar Kiyoshi Aman
Browse files

Chessa::Bug: nope that didn't work, try this instead

parent 80e6b184
......@@ -125,8 +125,12 @@ sub parse {
next;
}
}
$word =~ /^(.*?)$sigil(.*?)\b/;
($project, $num) = ($1, $2);
($project, $num) = split /$sigil/, $word;
if ($sigil eq '@') {
$num =~ s/^([a-fA-F0-9]+).*/$1/;
} else {
$num =~ s/^(\d+).*/$1/;
}
if (!length($project)) {
unless ($type eq 'snippets') {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment