Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
510b6af4
Commit
510b6af4
authored
Sep 19, 2002
by
Kenichi Handa
Browse files
(re_search_2): Fix previous change.
parent
89233d40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
src/regex.c
src/regex.c
+9
-8
No files found.
src/regex.c
View file @
510b6af4
...
...
@@ -4075,15 +4075,16 @@ re_search_2 (bufp, str1, size1, str2, size2, startpos, range, regs, stop)
}
}
else
if
(
multibyte
&&
!
target_multibyte
)
{
buf_ch
=
*
d
;
MAKE_CHAR_MULTIBYTE
(
buf_ch
);
if
(
fastmap
[
CHAR_LEADING_CODE
(
buf_ch
)])
break
;
while
(
range
>
lim
)
{
buf_ch
=
*
d
;
MAKE_CHAR_MULTIBYTE
(
buf_ch
);
if
(
fastmap
[
CHAR_LEADING_CODE
(
buf_ch
)])
break
;
d
++
;
range
--
;
}
d
++
;
range
--
;
}
else
while
(
range
>
lim
&&
!
fastmap
[
*
d
])
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment