-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
bugSomething isn't workingSomething isn't working
Description
const pat: []const u8 =
\\([A-Z_a-z0-9]*|[,;]*)
;
var re = Regex.compile(std.heap.smp_allocator, pat) catch |err| {
std.debug.print("Error: {}", .{err});
};Which raise thread 9311569 panic: attempt to unwrap error: EmptyAlternate.
But this pat is ok for python:
import re
regex = re.compile(r"([A-Z_a-z0-9]*|[,;]*)")
# regex == re.compile(r'([A-Z_a-z0-9]*|[,;]*)', re.UNICODE)Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working