Sometimes you don't want the reverse engineering tool to extract all of the tables in your database. For example, the database may contain technical tables which are logically are not part of the model. This is when the -regexp option comes in handy.
Sometimes you don’t want the reverse engineering tool to extract all of the tables in your database. For example, the database may contain technical tables which are logically are not part of the model. This is when the -regexp option comes in handy.
. |
Matches any character |
^regex |
Finds regex that must match at the beginning of the line. |
regex$ |
Finds regex that must match at the end of the line. |
[abc] |
Set definition, can match the letter a or b or c. |
[abc][vz] |
Set definition, can match a or b or c followed by either v or z. |
[^abc] |
When a caret appears as the first character inside square brackets, it negates the pattern. This can match any character except a or b or c. |
[a-d] |
Ranges: matches a letter between a and d. |
X|Z |
Finds X or Z. |
XZ |
Finds X directly followed by Z. |
\d |
A digit: [0-9] |
\D |
A non-digit: [^0-9] |