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