Could we add \a as an escape sequence for bell?

Andrew Dinn adinn at redhat.com
Mon Oct 27 10:15:31 UTC 2025



On 26/10/2025 17:26, David Alayachew wrote:
> Also, here is the JLS 25 entry about escape sequences -- https:// 
> docs.oracle.com/javase/specs/jls/se25/html/jls-3.html#jls-3.10.7 
> <https://docs.oracle.com/javase/specs/jls/se25/html/jls-3.html#jls-3.10.7>
> 
> All I really want is for that to be added to the list, so that I can do 
> it the same as I would in other languages. It sounds like an in-place 
> replacement done by the compiler.

What is wrong with using \u0007 or \7? (as documented in the html page 
you cited).

regards,


Andrew Dinn
-----------
Red Hat Distinguished Engineer
He/Him/His
IBM UK Limited
Registered in England and Wales with number 741598
Registered office: Building C, IBM Hursley Office, Hursley Park Road, 
Winchester, Hampshire SO21 2JN



More information about the core-libs-dev mailing list