Message defining a custom regular expression.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#group_indexes
def group_indexes() -> ::Array<::Integer>
Returns
- (::Array<::Integer>) — (https://github.com/google/re2/wiki/Syntax) can be found under the The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
#group_indexes=
def group_indexes=(value) -> ::Array<::Integer>
Parameter
- value (::Array<::Integer>) — (https://github.com/google/re2/wiki/Syntax) can be found under the The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
Returns
- (::Array<::Integer>) — (https://github.com/google/re2/wiki/Syntax) can be found under the The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
#pattern
def pattern() -> ::String
Returns
- (::String) — Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
#pattern=
def pattern=(value) -> ::String
Parameter
- value (::String) — Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
Returns
- (::String) — Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.