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

\a in double-quoted strings in Rakudo #2953

Closed
p6rt opened this issue Oct 27, 2012 · 5 comments
Closed

\a in double-quoted strings in Rakudo #2953

p6rt opened this issue Oct 27, 2012 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Oct 27, 2012

Migrated from rt.perl.org#115508 (status was 'resolved')

Searchable as RT115508$

@p6rt
Copy link
Author

p6rt commented Oct 27, 2012

From @masak

  Poppa​: Got an alarm bell?
  Rusty​: I do
  Poppa​: Then ring that bell
  -- Starlight express

<jnthn> r​: say '\a'
<p6eval> rakudo 9d50d6​: OUTPUT«\a␤»
<masak> std​: say "\a"
<p6eval> std edd7715​: OUTPUT«ok 00​:00 42m␤»
<masak> r​: say "\a"
<p6eval> rakudo 9d50d6​: OUTPUT«===SORRY!===␤Unrecognized backslash
sequence​: '\a' at line 2, near "\""␤»
<masak> what does STD think \a is in qq strings?
<TimToady> n​: say ord "\a"
<p6eval> niecza v22-14-g136ddcf​: OUTPUT«7␤»
* masak submits rakudobug
<TimToady> p​: say ord "\a"
<p6eval> pugs​: OUTPUT«7␤»
<masak> eval​: ord "\a"
<buubot_backup> masak​: 7
<masak> :)

@p6rt
Copy link
Author

p6rt commented Nov 1, 2012

From @jnthn

On Sat Oct 27 12​:58​:31 2012, masak wrote​:

Poppa&#8203;: Got an alarm bell?
Rusty&#8203;: I do
Poppa&#8203;: Then ring that bell
    \-\- Starlight express

<jnthn> r​: say '\a'
<p6eval> rakudo 9d50d6​: OUTPUT«\a␤»
<masak> std​: say "\a"
<p6eval> std edd7715​: OUTPUT«ok 00​:00 42m␤»
<masak> r​: say "\a"
<p6eval> rakudo 9d50d6​: OUTPUT«===SORRY!===␤Unrecognized backslash
sequence​: '\a' at line 2, near "\""␤»
<masak> what does STD think \a is in qq strings?
<TimToady> n​: say ord "\a"
<p6eval> niecza v22-14-g136ddcf​: OUTPUT«7␤»
* masak submits rakudobug
<TimToady> p​: say ord "\a"
<p6eval> pugs​: OUTPUT«7␤»
<masak> eval​: ord "\a"
<buubot_backup> masak​: 7
<masak> :)

Fixed​:

say ord "\a"
7

Tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Nov 1, 2012

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Nov 14, 2012

From @coke

On Thu Nov 01 14​:12​:51 2012, jnthn@​jnthn.net wrote​:

On Sat Oct 27 12​:58​:31 2012, masak wrote​:

Poppa&#8203;: Got an alarm bell?
Rusty&#8203;: I do
Poppa&#8203;: Then ring that bell
    \-\- Starlight express

<jnthn> r​: say '\a'
<p6eval> rakudo 9d50d6​: OUTPUT«\a␤»
<masak> std​: say "\a"
<p6eval> std edd7715​: OUTPUT«ok 00​:00 42m␤»
<masak> r​: say "\a"
<p6eval> rakudo 9d50d6​: OUTPUT«===SORRY!===␤Unrecognized backslash
sequence​: '\a' at line 2, near "\""␤»
<masak> what does STD think \a is in qq strings?
<TimToady> n​: say ord "\a"
<p6eval> niecza v22-14-g136ddcf​: OUTPUT«7␤»
* masak submits rakudobug
<TimToady> p​: say ord "\a"
<p6eval> pugs​: OUTPUT«7␤»
<masak> eval​: ord "\a"
<buubot_backup> masak​: 7
<masak> :)

Fixed​:

say ord "\a"
7

Tagging testneeded.

/jnthn

Test added in S02-literals/string-interpolation.t

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Nov 14, 2012

@coke - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant