Pcb
's search is based on POSIX 1003.2 Regular Expressions. Full POSIX
Regular Expressions are supported by Pcb
if the regex library was
available when Pcb
was built.
It is easier to show by example how to search than explain POSIX 1003.2. The following table shows the most common
Regular Expression characters used to find elements in Pcb
:
\
*
+
?
.
The following examples illustrate how regular expressions are used to specify element names (reference designators) to search for.
Search for "C1":
Search for all elements that start with "C", such as capacitors:
Search for all elements that start with "C" and end with "1",
Search for only R1 or R10, will not match R100:
Search for all parts starting with "R12" and ending with the number eight, or eighty-eight etc:
Search for all terminal blocks having a one digit designator such as TB1 or TB2:
Search for all terminal blocks having a two digit designator such as TB21 or TB15: