Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A string literal plain text expression is made up from a string of characters inside double quotes, along with escape characters to allow for special characters to be used. It evaluates to a fixed string (an actual human readable string).

...

Regular expressions are used for text pattern-matching, whereas string literals plain text expressions can be used both to do literal character matching and provide output values. In simple terms, writing a string literal plain text expression for a string valued field on a stream would result in a (that) string being output to the database, but a regular expression would have no meaning in this context.

Examples:

If you want the string abc"def.

...

Note how this contrasts to the regular expression case, where a double-backslash is used to escape special characters.

See Also

Fixed String

Regular Expression