blob: ba542080616db330b2f647424512654560b0a0f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# File storage for format strings
####################################################
# Format strings for handling double-quoted strings.
####################################################
## Format the three types of string escapes into a valid pattern.
## The three types are:
## 1) Short escapes.
## 2) Octal escapes.
## 3) Unicode escapes.
stringEscape \\(%1$s|%2$s|%3$s)
## Format the parts of a regex into one that matches java-style double-quoted strings.
## The parts are:
## 1) Anything that's not a possible escape sequence or quote.
## 2) A possible escape sequence.
doubleQuotes ("(%1$s|%2$s)*")
|