From the announcement:

Regular expressions follow the PCRE syntax. This update has a full regex parser and finite-state-automaton generator that builds parsing trees at comptime. All parsing trees are stateless and have @sizeOf(T) == 0.

To use Regex, just look for the fluent.match function and provide your expression string and source string: fluent.match(“[abc]\d+”, str)

It’s an on going process, but it’s at a point where people can start using them and be on the lookout for more updates!


Fluent can be found on Github: https://github.com/andrewCodeDev/Fluent

No comments yet!

Zig Programming Language

!zig@lemm.ee

Create post

A lemm.ee community for Zig!

Community stats

  • 20

    Monthly active users

  • 129

    Posts

  • 13

    Comments

Community moderators