Option quoted_match
Quote all fields matching a regular expression. Value may equal a string, a RegExp, and an array with any of those.
- Type:
[String|RegExp]
orString|RegExp
- Optional
- Default:
null
- Since: 5.0.0
- Related:
quote
,quoted_empty
,quoted_string
,quoted
— see Available Options
Note, several options are available to control when to quote fields under certain conditions. Make sure to review the alternatives.
Example with a string
In the quoted_match_string example, fields containing the string "."
are quoted.
Example with a regular expression
In the quoted_match_regexp example, fields matching the regular expression /\./
are quoted.