Repository navigation
v1.1.0
Added
- New Rhai functions:
extract_email(),extract_email(nth),extract_emails()- Extract email addresses from text with nth indexing support (completes the network identifier extraction trio alongsideextract_ip()andextract_url())track_percentiles()- Streaming percentile estimation using t-digest algorithm for memory-efficient, parallel-safe percentile tracking with ~1-2% accuracy (auto-suffixes metric names like "latency_p95", "latency_p99")to_float(thousands_sep, decimal_sep),to_int(thousands_sep)- Explicit number format parsing for different locales (US:"1,234.56".to_float(',', '.'), EU:"1.234,56".to_float('.', ','), French:"1 234,56".to_float(' ', ',')). Thethousands_sepremoves any character in the string for handling messy data, whiledecimal_sepmust be single-character or emptyto_float_or(thousands_sep, decimal_sep, default),to_int_or(thousands_sep, default)- Fallback variants with default values
Changed
- Input formats now listed in both
-h(short help) and--helpoutput for easier discovery
What's Changed
- Add extract_email() function family for email address extraction by @dloss in #56
- Add track_percentiles() for streaming percentile estimation by @dloss in #57
- Add comprehensive exploration of number format parsing options by @dloss in #58
- Refine number conversion: char-based thousands_sep, validate decimal_sep by @dloss in #59
- List all available input formats in --help output by @dloss in #60
Full Changelog: v1.0.0...v1.1.0