You didn't read re_format(7) well:

    Basic regular expressions differ in several respects:

o `|', `+', and `?' are ordinary characters and there is no equiva-
           lent for their functionality.

o The delimiters for bounds are `\{' and `\}', with `{' and `}' by
            themselves ordinary characters.

$ sed -e 's/\(^[A_Z]\{1\}\)\([a-z]\{1,\}\)\.sgml/\1\2\.html/g'


Thank you all, guys.
Marcello

Reply via email to