Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/^^/ at end of string #679

Closed
zoffixznet opened this issue Jul 5, 2016 · 1 comment
Closed

/^^/ at end of string #679

zoffixznet opened this issue Jul 5, 2016 · 1 comment
Labels
docs Documentation issue (primary issue type) good first issue If you want to dive in, this would be a good place to start

Comments

@zoffixznet
Copy link
Contributor

From RT#128547

doc/Language/regexes.pod says:

# The C<^^> assertion matches at the start of a logical line. That is, either
# at the start of the string, or after a newline character.

Actual behaviour:

Show quoted textTrue
Show quoted textFalse

/^^/ doesn't match after a newline character if that's at the end
of the string.  This mismatch appears to be a documentation bug: the
behaviour of /^^/ is consistent with that of /$$/, which is consistent
with its documentation.  The description of /^^/ needs to adopt the
"when the last character is not a newline character" qualifier from the
description of /$$/.

-zefram
@zoffixznet zoffixznet added docs Documentation issue (primary issue type) LHF labels Jul 5, 2016
@AlexDaniel
Copy link
Member

Is a973e7b good enough?

@coke coke added good first issue If you want to dive in, this would be a good place to start and removed LHF labels Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation issue (primary issue type) good first issue If you want to dive in, this would be a good place to start
Projects
None yet
Development

No branches or pull requests

3 participants