1 | protected int getCompilerOptions(int options) {↵ | | 1 | protected int getCompilerOptions(int options) {↵
|
2 | int cOptions = Perl5Compiler.DEFAULT_MASK;↵ | | 2 | int cOptions = RE.MATCH_NORMAL;↵
|
|
3 | if (RegexpUtil.hasFlag(options, MATCH_CASE_INSENSITIVE)) {↵ | | 3 | if (RegexpUtil.hasFlag(options, MATCH_CASE_INSENSITIVE)) {↵
|
4 | cOptions |= Perl5Compiler.CASE_INSENSITIVE_MASK;↵ | | 4 | cOptions |= RE.MATCH_CASEINDEPENDENT;↵
|
5 | }↵ | | 5 | }↵
|
6 | if (RegexpUtil.hasFlag(options, MATCH_MULTILINE)) {↵ | | 6 | if (RegexpUtil.hasFlag(options, MATCH_MULTILINE)) {↵
|
7 | cOptions |= Perl5Compiler.MULTILINE_MASK;↵ | | 7 | cOptions |= RE.MATCH_MULTILINE;↵
|
8 | }↵ | | 8 | }↵
|
9 | if (RegexpUtil.hasFlag(options, MATCH_SINGLELINE)) {↵ | | 9 | if (RegexpUtil.hasFlag(options, MATCH_SINGLELINE)) {↵
|
10 | cOptions |= Perl5Compiler.SINGLELINE_MASK;↵ | | 10 | cOptions |= RE.MATCH_SINGLELINE;↵
|
11 | }↵ | | 11 | }↵
|
|
12 | return cOptions;↵ | | 12 | return cOptions;↵
|
13 | | | 13 |
|