UNPKG

datapilot-cli

Version:

Enterprise-grade streaming multi-format data analysis with comprehensive statistical insights and intelligent relationship detection - supports CSV, JSON, Excel, TSV, Parquet - memory-efficient, cross-platform

34 lines 1.17 kB
/** * Shared validation patterns used across the DataPilot codebase * Centralized to ensure consistency and maintainability */ /** * Comprehensive email validation pattern * Supports most standard email formats including: * - Local parts with alphanumeric, dots, underscores, percent, plus, and hyphens * - Domain parts with alphanumeric characters, dots, and hyphens * - TLD with at least 2 alphabetic characters */ export declare const EMAIL_PATTERN: RegExp; /** * Simple email validation pattern (legacy) * Less comprehensive but faster for basic validation * @deprecated Use EMAIL_PATTERN instead for better coverage */ export declare const EMAIL_PATTERN_SIMPLE: RegExp; /** * URL validation pattern * Matches http, https, and ftp protocols */ export declare const URL_PATTERN: RegExp; /** * Phone number pattern (international format) * Supports various international phone number formats */ export declare const PHONE_PATTERN: RegExp; /** * Credit card number pattern (basic format check) * Validates basic structure, not actual card validity */ export declare const CREDIT_CARD_PATTERN: RegExp; //# sourceMappingURL=validation-patterns.d.ts.map