The tests use different patterns to locate if a table is created because of a resharding operations. Considering that "system.resharding" could be contained in a user table, it is necessary to have a more accurate expression to decide if the table comes from resharding. Examples of usage:
jstests/libs/check_routing_table_consistency_helpers.js