Skip to content

Commit

Permalink
Add ReadMe.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Jan 2, 2025
1 parent 4c6a5c4 commit 9b6c0ed
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
Binary file added .github/assets/t.regx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<p align="center"><img src=".github/assets/t.regx.png" alt="T-Regx"></p>

<p align="center">
<a href="https://github.com/t-regx/functions/actions/">
<img src="https://github.com/t-regx/functions/workflows/build/badge.svg" alt="Build status"/>
</a>
</p>

# Regex | Set of function helpers

![PHP Version](https://img.shields.io/badge/PHP-8.0-blue.svg)
![PHP Version](https://img.shields.io/badge/PHP-8.1-blue.svg)
![PHP Version](https://img.shields.io/badge/PHP-8.2-blue.svg)
![PHP Version](https://img.shields.io/badge/PHP-8.3-blue.svg)
![PHP Version](https://img.shields.io/badge/PHP-8.4-blue.svg)

A set of helper functions with modern interface for built-in PHP `preg_` functions. Revamped approach
of [T-Regx](https://github.com/T-Regx/T-Regx) library.

[Buy me a coffee!](https://www.buymeacoffee.com/danielwilkowski)

## Examples

```php
re_test('[a-z]+', 'word');
```
```
bool (true)
```

```php
re_test('[a-z]+', 'WORD', modifiers:'i');
```
```
bool (true)
```

0 comments on commit 9b6c0ed

Please sign in to comment.