yade-batch warnings on Python 3.12

Executing on Ubuntu 24.04 (i.e. a Python 3.12 ecosystem for what matters, I guess) the following terminal commands, about defining and executing a very simple batch:

echo 'readParamsFromTable(rad=1)' > script.py
echo 'O.bodies.append(sphere((0,0,0),yade.params.table.rad))' >> script.py
echo 'rad' > params.table
echo '1' >> params.table
yadedaily-batch params.table script.py # tested here with the batch executable of last October 2788e01

will generate in terminal a number of warning outputs, before the classical batch output:

/home/jeduriez/Yade/install/bin/yadeTrunk-batch:365: SyntaxWarning: invalid escape sequence '\-'
  parser.add_argument('--force-threads',action='store_true',dest='forceThreads',help='Force jobs to not use more cores than the maximum (see \-j), even if !THREADS colums specifies more.')
/home/jeduriez/Yade/install/bin/yadeTrunk-batch:367: SyntaxWarning: invalid escape sequence '\-'
  parser.add_argument('--global-log',dest='globalLog',help='Filename where to redirect output of yade-batch itself (as opposed to \-\-log); if not specified (default), stdout/stderr are used',metavar='FILE')
/home/jeduriez/Yade/install/bin/yadeTrunk-batch:375: SyntaxWarning: invalid escape sequence '\-'
  parser.add_argument('--plot-update',type=int,dest='plotAlwaysUpdateTime',help='Interval (in seconds) at which job plots will be updated even if not requested via HTTP. Non-positive values will make the plots not being updated and saved unless requested via HTTP (see \-\-plot-timeout for controlling maximum age of those).  Plots are saved at exit under the same name as the log file, with the .log extension removed. (default: 120 seconds)',metavar='TIME',default=120)
/home/jeduriez/Yade/install/bin/yadeTrunk-batch:379: SyntaxWarning: invalid escape sequence '\-'
  parser.add_argument('--timing-output',type=str,metavar='FILE',dest='timingOut',default=None,help='With \-\-timing, save measured durations to FILE, instead of writing to standard output.')
/home/jeduriez/Yade/install/bin/yadeTrunk-batch:407: SyntaxWarning: invalid escape sequence '\.'
  if len([1 for a in args if re.match('.*\.py(/[0-9]+)?',a)])==len(args) and len(args)!=0:

I guess it relates to Python3.12 updates described e.g., here (for the first two paragraphs at least) and to the current state of our core/main/yade-batch.in

Now-invalid usage of \ in arguments documentation such as here or there are easy to fix.

On the other hand, there is that line 407 which also triggers a warning and requires modification and I can not see exactly at the moment what is the solution (intent of that line to start with !)