{"id":42502528,"url":"https://github.com/r3c/mure","last_synced_at":"2026-01-28T13:30:51.548Z","repository":{"id":41472447,"uuid":"177341626","full_name":"r3c/mure","owner":"r3c","description":"MUlti-valued Regular Expressions","archived":false,"fork":false,"pushed_at":"2026-01-21T13:59:13.000Z","size":188,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-22T01:49:06.117Z","etag":null,"topics":["csharp","regular-expression","regular-expressions"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r3c.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-03-23T21:25:19.000Z","updated_at":"2025-11-24T22:24:40.000Z","dependencies_parsed_at":"2024-11-20T08:24:25.088Z","dependency_job_id":"542ebb3b-4bbc-4e98-b603-af37934e8127","html_url":"https://github.com/r3c/mure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/r3c/mure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r3c%2Fmure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r3c%2Fmure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r3c%2Fmure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r3c%2Fmure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r3c","download_url":"https://codeload.github.com/r3c/mure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r3c%2Fmure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","regular-expression","regular-expressions"],"created_at":"2026-01-28T13:30:47.666Z","updated_at":"2026-01-28T13:30:51.538Z","avatar_url":"https://github.com/r3c.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mure: MUlti-valued Regular Expressions\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/r3c/mure/verify.yml?branch=master)](https://github.com/r3c/mure/actions/workflows/verify.yml)\n[![license](https://img.shields.io/github/license/r3c/mure.svg)](https://opensource.org/licenses/MIT)\n\n## Overview\n\nMure is a text stream matching engine with support for a subset of regular\nexpressions, able to bind several patterns to a corresponding value and return\nthe one value associated to matched pattern. This allows forward-only text\nparsing while mapping each matched sequence to corresponding value, which is a\nefficient solution for tokenization tasks e.g. when writing lexers.\n\n## Usage\n\nThere is no user documentation available yet, sorry!\n\nHere is a simple code sample:\n\n```csharp\nvar matcher = Compiler\n    .CreateFromRegex\u003cLexemType\u003e()\n    .AddPattern(\"[0-9]+\", LexemType.Number)\n    .AddPattern(\"\\\\+\", LexemType.Plus)\n    .AddPattern(\"-\", LexemType.Minus)\n    .Compile();\n\nusing (var reader = new StringReader(\"27+32-4\"))\n{\n    var iterator = matcher.Open(reader);\n\n    while (iterator.TryMatchNext(out var match))\n        Console.WriteLine($\"Matched {match.Value}: {match.Capture}\");\n}\n```\n\nRunning this code will print to standard output:\n\n```\nMatched Number: 27\nMatched Plus: +\nMatched Number: 32\nMatched Minus: -\nMatched Number: 4\n```\n\n## Resource\n\n- Contact: v.github.com+mure [at] mirari [dot] fr\n- License: [license.md](license.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr3c%2Fmure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr3c%2Fmure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr3c%2Fmure/lists"}