Regexp in scan-assembler-not
Paulo Matos
pmatos@broadcom.com
Wed Apr 3 09:51:00 GMT 2013
OK, trial an error showed me I have some escaping to do: stw\[^:\n\]\+:\[\t \]\+dirw
Paulo Matos
> -----Original Message-----
> From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
> Behalf Of Paulo Matos
> Sent: 03 April 2013 09:58
> To: gcc-help@gcc.gnu.org
> Subject: Regexp in scan-assembler-not
>
> Hi,
>
> Are there any docs available where I can find what type of regexp is scan-
> assembler directive expecting?
> I have the following working grep regexp: stw[^:]\+:[[:space:]]\+dirw
> However the gcc testsuite is not too happy with it.
>
> Any suggestions not only on how to write this but what is generally accepted?
>
> Cheers,
>
> Paulo Matos
>
More information about the Gcc-help
mailing list