function createImportRegExp(importIdent) {
  return new RegExp(`(\\s*)import\\s+.+\\s+from\\s+['"]${importIdent}['"];`);
}
Returns a regular expression that matches an import statement for the given
import identifier.
@param {string} importIdent The identifier of the import to match.
@returns {RegExp} The regular expression.