[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230823084448.GB1766638@linux.vnet.ibm.com>
Date: Wed, 23 Aug 2023 14:14:48 +0530
From: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>
To: Vishal Chourasia <vishalc@...ux.ibm.com>
Cc: andrii@...nel.org, ast@...nel.org, bpf@...r.kernel.org,
daniel@...earbox.net, davem@...emloft.net, haoluo@...gle.com,
hawk@...nel.org, john.fastabend@...il.com, jolsa@...nel.org,
kpsingh@...nel.org, kuba@...nel.org, linux-kernel@...r.kernel.org,
martin.lau@...ux.dev, netdev@...r.kernel.org,
sachinp@...ux.ibm.com, sdf@...gle.com, song@...nel.org, yhs@...com
Subject: Re: [PATCH] Fix invalid escape sequence warnings
* Vishal Chourasia <vishalc@...ux.ibm.com> [2023-08-16 17:51:33]:
> The Python script `bpf_doc.py` uses regular expressions with
> backslashes in string literals, which results in SyntaxWarnings
> during its execution.
>
> This patch addresses these warnings by converting relevant string
> literals to raw strings, which interpret backslashes as literal
> characters. This ensures that the regular expressions are parsed
> correctly without causing any warnings.
>
> Signed-off-by: Vishal Chourasia <vishalc@...ux.ibm.com>
> Reported-by: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>
Thanks, Works for me
Tested-by: Srikar Dronamraju <srikar@...ux.vnet.ibm.com>
--
Thanks and Regards
Srikar Dronamraju
Powered by blists - more mailing lists