File: regexpatch.cwl

package info (click to toggle)
texstudio 4.9.1%2Bds-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 110,128 kB
  • sloc: cpp: 111,264; xml: 18,668; ansic: 8,977; python: 357; javascript: 177; sh: 147; makefile: 52
file content (27 lines) | stat: -rw-r--r-- 1,234 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
# regexpatch package
# muzimuzhi 18 Jan 2020, add cwl for regexpatch v0.2d

# 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]