Skip to content

Commit 9b6c0ed

Browse files
committed
Add ReadMe.md
1 parent 4c6a5c4 commit 9b6c0ed

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/assets/t.regx.png

32.2 KB
Loading

ReadMe.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<p align="center"><img src=".github/assets/t.regx.png" alt="T-Regx"></p>
2+
3+
<p align="center">
4+
<a href="https://github.com/t-regx/functions/actions/">
5+
<img src="https://github.com/t-regx/functions/workflows/build/badge.svg" alt="Build status"/>
6+
</a>
7+
</p>
8+
9+
# Regex | Set of function helpers
10+
11+
![PHP Version](https://img.shields.io/badge/PHP-8.0-blue.svg)
12+
![PHP Version](https://img.shields.io/badge/PHP-8.1-blue.svg)
13+
![PHP Version](https://img.shields.io/badge/PHP-8.2-blue.svg)
14+
![PHP Version](https://img.shields.io/badge/PHP-8.3-blue.svg)
15+
![PHP Version](https://img.shields.io/badge/PHP-8.4-blue.svg)
16+
17+
A set of helper functions with modern interface for built-in PHP `preg_` functions. Revamped approach
18+
of [T-Regx](https://github.com/T-Regx/T-Regx) library.
19+
20+
[Buy me a coffee!](https://www.buymeacoffee.com/danielwilkowski)
21+
22+
## Examples
23+
24+
```php
25+
re_test('[a-z]+', 'word');
26+
```
27+
```
28+
bool (true)
29+
```
30+
31+
```php
32+
re_test('[a-z]+', 'WORD', modifiers:'i');
33+
```
34+
```
35+
bool (true)
36+
```

0 commit comments

Comments
 (0)