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

Re: "\Ubeef"? #528

Closed
p5pRT opened this issue Sep 20, 1999 · 12 comments
Closed

Re: "\Ubeef"? #528

p5pRT opened this issue Sep 20, 1999 · 12 comments

Comments

@p5pRT
Copy link

p5pRT commented Sep 20, 1999

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

Searchable as RT1375$

@p5pRT
Copy link
Author

p5pRT commented Sep 20, 1999

From The RT System itself

I hope that's not intended to apply to

  $x = 'beef'; "\U$x"

But if not, you've got some rather kludgy semantics.

Mike Guy

@p5pRT
Copy link
Author

p5pRT commented Sep 20, 1999

From The RT System itself

M.J.T. Guy writes​:

Jarkko Hietaniemi <jhi@​iki.fi> wrote

Do I remember correctly or was it so that we should make

"\\Ubeef"

(and I think possibly also "\U+beef"?) to work as "\x{beef}"? In
other words, convert /\\U\+?([0-9a-f]{4})/i into the corresponding
Unicode (UTF-8) character. (For completeness, maybe also \U{hexhere}
should work?)

I hope that's not intended to apply to

   $x = 'beef';   "\\U$x"

Not this. Only for "literal hex" immediately following the \U because
an "\U$x" is of course still meant to equal uc($x).

Rationale​: that's how Unicode characters are usually marked.
Well, in Java they seem to use \ubeef.

But if not, you've got some rather kludgy semantics.

If I could think of better search expressions I could try finding
Larry's message on the subject...

Mike Guy

--
$jhi++; # http​://www.iki.fi/jhi/
  # There is this special biologist word we use for 'stable'.
  # It is 'dead'. -- Jack Cohen

@p5pRT
Copy link
Author

p5pRT commented Sep 20, 1999

From The RT System itself

Do I remember correctly or was it so that we should make

  "\Ubeef"

(and I think possibly also "\U+beef"?) to work as "\x{beef}"? In
other words, convert /\\U\+?([0-9a-f]{4})/i into the corresponding
Unicode (UTF-8) character. (For completeness, maybe also \U{hexhere}
should work?)

Now that's just a weird way to get BEEF.

--
$jhi++; # http​://www.iki.fi/jhi/
  # There is this special biologist word we use for 'stable'.
  # It is 'dead'. -- Jack Cohen

@p5pRT
Copy link
Author

p5pRT commented Sep 20, 1999

From The RT System itself

Yes, I do recall decreeing something like that, but when I decree
something and it doesn't happen, I usually attribute it to lack of
round tuition rather than passive aggressive behavior. Whether or
not that's the case... :-)

Larry

@p5pRT
Copy link
Author

p5pRT commented Sep 20, 1999

From The RT System itself

I am glad it is not just me that thought that.
When playing with this stuff that is the order I tried them in ;-)
The last (working) one after greping the docs.

In
other words, convert /\\U\+?([0-9a-f]{4})/i into the corresponding
Unicode (UTF-8) character. (For completeness, maybe also \U{hexhere}
should work?)

Now that's just a weird way to get BEEF.
--
Nick Ing-Simmons <nik@​tiuk.ti.com>
Via, but not speaking for​: Texas Instruments Ltd.

@p5pRT
Copy link
Author

p5pRT commented Sep 20, 1999

From The RT System itself

Larry Wall writes​:

jhi@​iki.fi writes​:
: Do I remember correctly or was it so that we should make
:
: "\Ubeef"
:
: (and I think possibly also "\U+beef"?) to work as "\x{beef}"? In
: other words, convert /\\U\+?([0-9a-f]{4})/i into the corresponding
: Unicode (UTF-8) character. (For completeness, maybe also \U{hexhere}
: should work?)

Yes, I do recall decreeing something like that, but when I decree
something and it doesn't happen, I usually attribute it to lack of
round tuition rather than passive aggressive behavior. Whether or

Many things can be said of p5p but *passive* aggressive behaviour
isn't one them...

not that's the case... :-)

Larry

--
$jhi++; # http​://www.iki.fi/jhi/
  # There is this special biologist word we use for 'stable'.
  # It is 'dead'. -- Jack Cohen

@p5pRT
Copy link
Author

p5pRT commented Apr 22, 2003

@iabyn - Status changed from 'stalled' to 'resolved'

@p5pRT p5pRT closed this as completed Apr 22, 2003
@p5pRT
Copy link
Author

p5pRT commented Apr 22, 2003

@iabyn - Status changed from 'stalled' to 'resolved'

4 similar comments
@p5pRT
Copy link
Author

p5pRT commented Apr 22, 2003

@iabyn - Status changed from 'stalled' to 'resolved'

@p5pRT
Copy link
Author

p5pRT commented Apr 22, 2003

@iabyn - Status changed from 'stalled' to 'resolved'

@p5pRT
Copy link
Author

p5pRT commented Apr 22, 2003

@iabyn - Status changed from 'stalled' to 'resolved'

@p5pRT
Copy link
Author

p5pRT commented Apr 22, 2003

@iabyn - Status changed from 'stalled' 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