{"id":28829510,"url":"https://github.com/ballerina-platform/module-ballerina-regex","last_synced_at":"2026-02-02T05:05:12.923Z","repository":{"id":37100570,"uuid":"327219175","full_name":"ballerina-platform/module-ballerina-regex","owner":"ballerina-platform","description":"Ballerina Regex Module","archived":false,"fork":false,"pushed_at":"2025-03-03T18:18:43.000Z","size":771,"stargazers_count":108,"open_issues_count":0,"forks_count":22,"subscribers_count":69,"default_branch":"main","last_synced_at":"2025-03-03T19:27:44.706Z","etag":null,"topics":["ballerina","hacktoberfest","integration","match","regex","replace","string","wso2"],"latest_commit_sha":null,"homepage":"","language":"Ballerina","has_issues":false,"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/ballerina-platform.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-06T06:18:36.000Z","updated_at":"2025-03-03T18:18:47.000Z","dependencies_parsed_at":"2024-11-08T07:25:01.465Z","dependency_job_id":"a08bd7c6-e366-4bfb-a98b-d74f1e290eea","html_url":"https://github.com/ballerina-platform/module-ballerina-regex","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/ballerina-platform/module-ballerina-regex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ballerina-platform%2Fmodule-ballerina-regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ballerina-platform%2Fmodule-ballerina-regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ballerina-platform%2Fmodule-ballerina-regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ballerina-platform%2Fmodule-ballerina-regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ballerina-platform","download_url":"https://codeload.github.com/ballerina-platform/module-ballerina-regex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ballerina-platform%2Fmodule-ballerina-regex/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260691049,"owners_count":23047109,"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":["ballerina","hacktoberfest","integration","match","regex","replace","string","wso2"],"created_at":"2025-06-19T05:13:54.409Z","updated_at":"2026-02-02T05:05:12.915Z","avatar_url":"https://github.com/ballerina-platform.png","language":"Ballerina","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ballerina Regex Library [DEPRECATED]\n==============================\n\n  [![Build](https://github.com/ballerina-platform/module-ballerina-regex/actions/workflows/build-timestamped-master.yml/badge.svg)](https://github.com/ballerina-platform/module-ballerina-regex/actions/workflows/build-timestamped-master.yml)\n  [![codecov](https://codecov.io/gh/ballerina-platform/module-ballerina-regex/branch/main/graph/badge.svg)](https://codecov.io/gh/ballerina-platform/module-ballerina-regex)\n  [![Trivy](https://github.com/ballerina-platform/module-ballerina-regex/actions/workflows/trivy-scan.yml/badge.svg)](https://github.com/ballerina-platform/module-ballerina-regex/actions/workflows/trivy-scan.yml)\n  [![GraalVM Check](https://github.com/ballerina-platform/module-ballerina-regex/actions/workflows/build-with-bal-test-graalvm.yml/badge.svg)](https://github.com/ballerina-platform/module-ballerina-regex/actions/workflows/build-with-bal-test-graalvm.yml)  \n  [![GitHub Last Commit](https://img.shields.io/github/last-commit/ballerina-platform/module-ballerina-regex.svg)](https://github.com/ballerina-platform/module-ballerina-regex/commits/main)\n  [![Github issues](https://img.shields.io/github/issues/ballerina-platform/ballerina-standard-library/module/regex.svg?label=Open%20Issues)](https://github.com/ballerina-platform/ballerina-standard-library/labels/module%2Fregex)\n\n**Deprecation Notice:** This library is deprecated and will no longer be maintained or updated. Instead, it is recommended to use the [`ballerina/lang.regexp`](https://lib.ballerina.io/ballerina/lang.regexp/latest) library for continued support and updates. For more information, see the new [RegExp type example](https://ballerina.io/by-example/regexp-type), [RegExp operations example](https://ballerina.io/by-example/regexp-operations), and [Regular expressions feature guide](https://ballerina.io/learn/distinctive-language-features/advanced-general-purpose-language-features/#regular-expressions).\n\nThis module provides APIs for searching, splitting, and replacing the set of characters of a string. These APIs are using a\nregular expression as a `String` to perform these operations by finding the string matches.\n\n[Regular expressions](https://en.wikipedia.org/wiki/Regular_expression), are notations for describing sets of\ncharacter strings. If a particular string is in the set described by a regular expression, the regular expression matches that string.\n\nFor a quick sample on demonstrating the usage, see [Ballerina By Examples](https://ballerina.io/learn/by-example/).\n\n## Issues and projects\n\nThe **Issues** and **Projects** tabs are disabled for this repository as this is part of the Ballerina Standard Library. To report bugs, request new features, start new discussions, view project boards, etc., go to the Ballerina Standard Library [parent repository](https://github.com/ballerina-platform/ballerina-standard-library). \n\nThis repository contains only the source code of the package.\n\n## Build from the source\n\n### Set up the prerequisites\n\n* Download and install Java SE Development Kit (JDK) version 21 (from one of the following locations).\n\n   * [Oracle](https://www.oracle.com/java/technologies/downloads/)\n   \n   * [OpenJDK](https://adoptium.net/)\n   \n        \u003e **Note:** Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK.\n\n### Build the source\n\nExecute the commands below to build from the source.\n\n1. To build the library:\n\n        ./gradlew clean build\n\n2. To run the integration tests:\n\n        ./gradlew clean test\n\n3. To build the package without the tests:\n\n        ./gradlew clean build -x test\n\n4. To debug the tests:\n\n        ./gradlew clean build -Pdebug=\u003cport\u003e\n        \n5. To debug the package with Ballerina language:\n   \n        ./gradlew clean build -PbalJavaDebug=\u003cport\u003e\n\n6. Publish ZIP artifact to the local `.m2` repository:\n\n        ./gradlew clean build publishToMavenLocal\n\n7. Publish the generated artifacts to the local Ballerina central repository:\n   \n        ./gradlew clean build -PpublishToLocalCentral=true\n\n8. Publish the generated artifacts to the Ballerina central repository:\n\n        ./gradlew clean build -PpublishToCentral=true\n        \n## Contribute to Ballerina\n\nAs an open source project, Ballerina welcomes contributions from the community. \n\nFor more information, go to the [contribution guidelines](https://github.com/ballerina-platform/ballerina-lang/blob/master/CONTRIBUTING.md).\n\n## Code of conduct\n\nAll contributors are encouraged to read the [Ballerina Code of Conduct](https://ballerina.io/code-of-conduct).\n\n## Useful links\n\n* For more information go to the [`regex` library](https://lib.ballerina.io/ballerina/regex/latest).\n* For example demonstrations of the usage, go to [Ballerina By Examples](https://ballerina.io/learn/by-example/).\n* Chat live with us on our [Discord server](https://discord.gg/ballerinalang).\n* Technical questions should be posted on Stack Overflow with the [#ballerina](https://stackoverflow.com/questions/tagged/ballerina) tag.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fballerina-platform%2Fmodule-ballerina-regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fballerina-platform%2Fmodule-ballerina-regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fballerina-platform%2Fmodule-ballerina-regex/lists"}