Class: Google::Cloud::Dlp::V2::CustomInfoType::Regex
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::CustomInfoType::Regex
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/storage.rb
Overview
Message defining a custom regular expression.
Instance Attribute Summary collapse
-
#group_indexes ⇒ ::Array<::Integer>
The index of the submatch to extract as findings.
-
#pattern ⇒ ::String
Pattern defining the regular expression.
Instance Attribute Details
#group_indexes ⇒ ::Array<::Integer>
Returns The index of the submatch to extract as findings. When not specified, the entire match is returned. No more than 3 may be included.
196 197 198 199 |
# File 'proto_docs/google/privacy/dlp/v2/storage.rb', line 196 class Regex include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#pattern ⇒ ::String
Returns Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
196 197 198 199 |
# File 'proto_docs/google/privacy/dlp/v2/storage.rb', line 196 class Regex include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |