mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 07:45:45 +01:00
23 lines
298 B
Markdown
23 lines
298 B
Markdown
# Punct
|
|
|
|
- `Punct()`
|
|
- `Punct(string $additionalChars)`
|
|
|
|
Accepts only punctuation characters:
|
|
|
|
```php
|
|
v::punct()->validate('&,.;[]'); // true
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.5.0 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Cntrl](Cntrl.md)
|
|
- [Graph](Graph.md)
|
|
- [Prnt](Prnt.md)
|