File: regexpatch.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (30 lines) | stat: -rw-r--r-- 1,266 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# regexpatch package
# muzimuzhi 18 Jan 2020, add cwl for regexpatch v0.2d

#include:expl3
#include:xparse

# common lines shared with "xpatch.cwl"
#include:patch-common

\xpatchcmd*{command}{search}{replace all}{success}{failure}
\xpatchbibmacro*{name}{search}{replace all}{success}{failure}
\xpatchbibdriver*{name}{search}{replace all}{success}{failure}
\xpatchfieldformat*[entry type]{name}{search}{replace all}{success}{failure}
\xpatchnameformat*[entry type]{name}{search}{replace all}{success}{failure}
\xpatchlistformat*[entry type]{name}{search}{replace all}{success}{failure}
\xpatchindexfieldformat*[entry type]{name}{search}{replace all}{success}{failure}
\xpatchindexnameformat*[entry type]{name}{search}{replace all}{success}{failure}
\xpatchindexlistformat*[entry type]{name}{search}{replace all}{success}{failure}

\regexpatchcmd{command}{search}{replace once}{success}{failure}
\regexpatchcmd*{command}{search}{replace all}{success}{failure}
\regexpatchbibmacro{name}{search}{replace once}{success}{failure}
\regexpatchbibmacro*{name}{search}{replace all}{success}{failure}

\xshowcmd*{command}
\xpatchoptarg{name}{replace}
\xpatchparametertext{name}{search}{replace}{success}{failure}
\checkpatchable{name}
\tracingxpatches
\tracingxpatches[0 or 1]