validFilenameRegex top-level property

RegExp validFilenameRegex
final

Regex for filenames and directories. used to make sure some generated files do not have special characters in the names.

Implementation

final validFilenameRegex = RegExp(r'^[^<>:"/\\|?*\x00-\x1F]+$');