diff options
author | Karl Williamson <khw@cpan.org> | 2015-02-08 23:04:18 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-02-19 22:55:01 -0700 |
commit | aa38344828be7d6b6a4fb83bedc3ca2a8eb43bdd (patch) | |
tree | f09b4bf4d2613272d990265ca3677b93e36a028b /regexec.c | |
parent | 64935bc6975bb01af403817752e88d6540c8711d (diff) | |
download | perl-aa38344828be7d6b6a4fb83bedc3ca2a8eb43bdd.tar.gz |
regexec.c: White-space only
Add indentation, as the previous commit added a switch{} around these.
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 27 |
1 files changed, 13 insertions, 14 deletions
@@ -4910,14 +4910,13 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog) bound_utf8: switch((bound_type) FLAGS(scan)) { case TRADITIONAL_BOUND: - ln = (locinput == reginfo->strbeg) - ? isWORDCHAR_L1('\n') - : isWORDCHAR_utf8(reghop3((U8*)locinput, -1, - (U8*)(reginfo->strbeg))); - n = (NEXTCHR_IS_EOS) - ? isWORDCHAR_L1('\n') - : isWORDCHAR_utf8((U8*)locinput); - + ln = (locinput == reginfo->strbeg) + ? isWORDCHAR_L1('\n') + : isWORDCHAR_utf8(reghop3((U8*)locinput, -1, + (U8*)(reginfo->strbeg))); + n = (NEXTCHR_IS_EOS) + ? isWORDCHAR_L1('\n') + : isWORDCHAR_utf8((U8*)locinput); match = ln != n; break; case GCB_BOUND: @@ -4942,12 +4941,12 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog) else { /* Not utf8 target */ switch((bound_type) FLAGS(scan)) { case TRADITIONAL_BOUND: - ln = (locinput == reginfo->strbeg) - ? isWORDCHAR_L1('\n') - : isWORDCHAR_L1(UCHARAT(locinput - 1)); - n = (NEXTCHR_IS_EOS) - ? isWORDCHAR_L1('\n') - : isWORDCHAR_L1(nextchr); + ln = (locinput == reginfo->strbeg) + ? isWORDCHAR_L1('\n') + : isWORDCHAR_L1(UCHARAT(locinput - 1)); + n = (NEXTCHR_IS_EOS) + ? isWORDCHAR_L1('\n') + : isWORDCHAR_L1(nextchr); match = ln != n; break; |