https://github.com/meilcli/regex-match
regex match action
https://github.com/meilcli/regex-match
github-actions regex-match
Last synced: 8 months ago
JSON representation
regex match action
- Host: GitHub
- URL: https://github.com/meilcli/regex-match
- Owner: MeilCli
- License: mit
- Created: 2020-07-26T13:49:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T09:05:35.000Z (over 1 year ago)
- Last Synced: 2024-05-01T12:35:44.529Z (over 1 year ago)
- Topics: github-actions, regex-match
- Language: TypeScript
- Homepage: https://github.com/MeilCli/actions
- Size: 2.86 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# regex-match
[](https://github.com/MeilCli/regex-match/actions/workflows/ci-master.yml)
regex match action
## Input
- `regex_pattern`
- required
- search regex pattern
- `regex_option`
- search regex option
- `search_string`
- required
- searched string
## Output
- `matched`
- `true` or `false`
- `matched_first`
- matched first string
- `matched_json`
- matched result json
- attension: will not inculde index property
- `matched_has_index`
- has provided `matched_index`
- `true`, `false` or unset
- `matched_index`
- matched index
## Contributes
[
](https://github.com/MeilCli/regex-match/graphs/contributors)
### Could you want to contribute?
see [Contributing.md](./.github/CONTRIBUTING.md)
## License
[
](LICENSE.txt)
### Using
- [actions/toolkit](https://github.com/actions/toolkit), published by [MIT License](https://github.com/actions/toolkit/blob/master/LICENSE.md)