• Amaury Forgeot d'Arc's avatar
    Closing issue1761. · d08a8ebf
    Amaury Forgeot d'Arc yazdı
    Surprising behaviour of the "$" regexp: it matches the
    end of the string, AND just before the newline at the end
    of the string::
    
        re.sub('$', '#', 'foo\n') == 'foo#\n#'
    
    Python is consistent with Perl and the pcre library, so
    we just document it.
    Guido prefers "\Z" to match only the end of the string.
    d08a8ebf
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...