DekodeInteraktiv / anonymize-mysqldump

Allows you to pipe data from mysqldump or an SQL file and anonymize it.
GNU General Public License v3.0
17 stars 9 forks source link

Make table names support regex by default #8

Closed Clorith closed 2 years ago

Clorith commented 2 years ago

Currently there's two table-references, tableName and tableNameRegex (the latter being a more recent addition to support wildcards and similar, for easier multisite support).

There's really no reason to separate these, we should retain tableNameRegex for back compat if anyone uses it, but make the same pattern matcher run on tableName so that there's no need to define, and maintain, multiple entries.