{"id":24901750,"url":"https://github.com/antonsjava/web-path-matcher","last_synced_at":"2025-03-27T18:19:55.250Z","repository":{"id":57732431,"uuid":"184319885","full_name":"antonsjava/web-path-matcher","owner":"antonsjava","description":"/foo/** like path matcher","archived":false,"fork":false,"pushed_at":"2023-12-17T17:52:18.000Z","size":162,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T21:17:26.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antonsjava.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-30T19:29:39.000Z","updated_at":"2022-04-12T16:22:04.000Z","dependencies_parsed_at":"2022-09-10T19:52:15.766Z","dependency_job_id":null,"html_url":"https://github.com/antonsjava/web-path-matcher","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/antonsjava%2Fweb-path-matcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonsjava%2Fweb-path-matcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonsjava%2Fweb-path-matcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonsjava%2Fweb-path-matcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonsjava","download_url":"https://codeload.github.com/antonsjava/web-path-matcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245898314,"owners_count":20690466,"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":"2025-02-01T21:17:35.440Z","updated_at":"2025-03-27T18:19:55.226Z","avatar_url":"https://github.com/antonsjava.png","language":"Java","readme":"\n# web-path-matcher\n\n Simple web path matching utility. Pattern to be matched can use \n  - individual '?' character to represent any character\n  - individual '*' character to represent any sequence of characters except '/'\n  - path segment with only '*' characters (more than one) to represent any sequence of path elements\n \n Examples\n\n  - '/foo/**' represents paths like /foo or /foo/bar/one\n  - '/foo/*.xml' represents paths like /foo/a.xml or /foo/bar.xml\n  - '/foo/?.xml' represents paths like /foo/a.xml or /foo/b.xml\n\n It is helper implementation for implementing http servlet filters and similar implementations.\n\n## Java usage\n\n```java\n  PathMatcher matcher = PathMatcher.instance(\"/foo/**\");\n  String path = \"/foo/bar\";\n  if(matcher.match(path)) { ... }\n```\n\n## Maven usage\n\n```\n   \u003cdependency\u003e\n      \u003cgroupId\u003eio.github.antonsjava\u003c/groupId\u003e\n      \u003cartifactId\u003eweb-path-matcher\u003c/artifactId\u003e\n      \u003cversion\u003eLASTEVERSION\u003c/version\u003e\n   \u003c/dependency\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonsjava%2Fweb-path-matcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantonsjava%2Fweb-path-matcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantonsjava%2Fweb-path-matcher/lists"}