Class: Google::Privacy::Dlp::V2::CustomInfoType::Regex
- Inherits:
-
Object
- Object
- Google::Privacy::Dlp::V2::CustomInfoType::Regex
- Defined in:
- lib/google/cloud/dlp/v2/doc/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.
131 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 131 class Regex; 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.
131 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb', line 131 class Regex; end |