Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
Highlight::RegexHelpers
Class methods
any_number_of_times
(re :
String
|
Regex
) :
String
Source
concat
(args :
Array
(
String
|
Regex
)) :
String
Source
concat
(*args :
String
|
Regex
) :
String
Source
either
(args :
Array
(
String
|
Regex
), capture :
Bool
= false) :
String
either(...args, {capture: true}?) — опции последним элементом, как stripOptionsFromArgs в оригинале.
Source
lookahead
(re :
String
|
Regex
) :
String
Source
optional
(re :
String
|
Regex
) :
String
Source
source
(re :
Pattern
|
Nil
) :
String
|
Nil
Source