An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# regex-match
[![CI-Master](https://github.com/MeilCli/regex-match/actions/workflows/ci-master.yml/badge.svg)](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)