On 2025-04-24 09:13, Eric Blake wrote:
case '\'': + case 'z':
Python uses \Z for this and Python's \A ... \Z is cleaner and easier to remember than Perl's \A ... \z, so how about if we follow Python's lead instead? Users could get the effect of Perl's \Z, which is less commonly wanted, with Python's \n?\Z or with current glibc's "\n?\\'".