News for hackers. Stuff that matters.
Re:Regex visualized as 3D marble run by yoav_lavi on Sunday October 18, 2026 @04:45PM (#50145311)
Melody (https://github.com/yoav-lavi/melody) is very similar in syntax to your example.

For example:

  <start>;
  
  option of "v";
  
  capture major {
    some of <digit>;
  }
  
  ".";
  
  capture minor {
    some of <digit>;
  }
  
  ".";
  
  capture patch {
    some of <digit>;
  }

  <end>;
Matches semver tags, e.g. v1.0.0

There are no comments on this comment yet.