#Regex

1 messages · Page 1 of 1 (latest)

honest merlin
#

Hello, i tried to make my own compiler and i need a way to do regex(s), any suggestions?

mystic dock
#

there are some Regex libraries out there you can use, but you really don't need Regex for making a compiler... if you're building a Lexer, which is my best guess to a place where you might be tempted to use Regex, try doing it manually. you may look at Zig's own Lexer for inspiration, found at std.zig.Tokenizer.next