🚑 Allow for regex without slashes for retro compat
This commit is contained in:
@@ -70,6 +70,8 @@ Example:
|
||||
|
||||
- `/^hello$/` will match if the string is strictly equal to "hello".
|
||||
- `/hello/` will match if the string contains "hello". Like "hello world".
|
||||
- `/hello/i` will match if the string contains "hello" case-insensitive. Like "Hello world".
|
||||
- `/[0-9]+/` will match if the string contains one or more digits. Like "123".
|
||||
|
||||
</ResponseField>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user