{"id":17057179,"url":"https://github.com/pocorall/automaton","last_synced_at":"2025-04-12T17:34:21.829Z","repository":{"id":1942590,"uuid":"2871971","full_name":"pocorall/automaton","owner":"pocorall","description":"A DFA/NFA library that is fast and easy to use","archived":false,"fork":false,"pushed_at":"2014-09-29T07:42:09.000Z","size":763,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T11:51:14.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pocorall.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-11-29T02:15:10.000Z","updated_at":"2025-02-06T04:18:32.000Z","dependencies_parsed_at":"2022-08-29T16:11:45.882Z","dependency_job_id":null,"html_url":"https://github.com/pocorall/automaton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocorall%2Fautomaton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocorall%2Fautomaton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocorall%2Fautomaton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocorall%2Fautomaton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pocorall","download_url":"https://codeload.github.com/pocorall/automaton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248605586,"owners_count":21132197,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-14T10:26:35.816Z","updated_at":"2025-04-12T17:34:21.804Z","avatar_url":"https://github.com/pocorall.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A DFA/NFA library that is fast and easy to use\n\nWith pocorall.automaton, you can do:\n* Search multiple strings super fast (see \u003ca href=\"http://tusker.org/regex/regex_benchmark.html\" target=\"_blank\"\u003ebenchmark\u003c/a\u003e)\n\nFor a quick glance, check out our [test cases](https://github.com/pocorall/automaton/tree/master/src/test/java/net/pocorall/automaton) and [javadocs](http://pocorall.github.com/automaton/docs/api/).\n\n### [Download latest version(2.0)](https://github.com/pocorall/automaton/raw/master/mvn-repo/net/pocorall/automaton/2.0/automaton-2.0.jar) or [include maven artifact](#maven-artifact)\n\nThe pocorall.automaton library is forked from \u003ca href=\"http://www.brics.dk/automaton\" target=\"_blank\"\u003edk.brics.automaton\u003c/a\u003e. We extended the original code as following ways:\n\n* [Allows state object](#state-object)\n* [Downloadable from maven repository](#maven-artifact)\n* [Test cases](https://github.com/pocorall/automaton/tree/master/src/test/java/net/pocorall/automaton)\n* Hosted on github :-D\n\n### State object\n\nIn conventional state machine, each state has a boolean property that specifies whether it is acceptable or not. However, in many contexts, we need to bound an object which describes extra informations about the state. In this library, a state object is received for every matching:\n\n```\nAutomatonMatcher matcher = ...;\nObject stateObj = matcher.find();\n```\n\nThe find() method returns null when no matches are found.\n\n\n### Maven artifact\n\nInclude these repository and dependency descriptions into your pom.\n\n```\n\u003crepositories\u003e\n\t\u003crepository\u003e\n\t\t\u003cid\u003eautomaton-github\u003c/id\u003e\n\t\t\u003curl\u003ehttps://raw.github.com/pocorall/automaton/master/mvn-repo\u003c/url\u003e\n\t\u003c/repository\u003e\n\u003c/repositories\u003e\n```\n\n```\n\u003cdependencies\u003e\n\t\u003cdependency\u003e\n\t\t\u003cgroupId\u003enet.pocorall\u003c/groupId\u003e\n\t\t\u003cartifactId\u003eautomaton\u003c/artifactId\u003e\n\t\t\u003cversion\u003e2.0\u003c/version\u003e\n\t\u003c/dependency\u003e\n\u003cdependencies\u003e\n```\n\n### License\n\nBoth pocorall.automaton and the original code(dk.brics.automaton) are available under BSD license.\n\n### Contributors\n\nThis library is maintained by Sung-Ho Lee\n\nOriginal code is developed by Anders Møller at Aarhus University, with contributions, suggestions and bug reports from Alexandar Bakic, Jodi Moran, Brandon Lee, David Lutterkort, John Gibson, Alex Meyer, Daniel Lowe, Harald Zauner, Dawid Weiss, Robert Muir, Hans-Martin Adorf, Dale Richardson, Yannick Versley, and Gustaf Lundh. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocorall%2Fautomaton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpocorall%2Fautomaton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocorall%2Fautomaton/lists"}