Aspose.HTML for Java V25.11
Released: Nov 30, 2025
V25.11 での更新項目
不具合の修正
- Fixed several edge cases in the regular expression implementation, focusing on option mapping, match correctness, and inline flag handling.
- Corrected multiline-related behavior and line-terminator semantics to ensure consistent ^/$ processing and proper newline interpretation (including Unix-lines mode where applicable).
- Addressed a false-positive scenario where an escaped dot ("\.") at the beginning of the input could be misinterpreted as a real "." match, improving prefix-pattern accuracy.
- Fixed support for inline regex flags and aligned them with Java Pattern behavior:
- i - case-insensitive matching (Pattern.CASE_INSENSITIVE).
- m - multiline mode for ^/$ anchors (Pattern.MULTILINE).
- s - dot matches newlines (Pattern.DOTALL).
- x - whitespace/comments mode (Pattern.COMMENTS).
- u - Unicode-aware case folding (Pattern.UNICODE_CASE).
- U - Unicode character classes for \w, \d, \s (Pattern.UNICODE_CHARACTER_CLASS).
- Unsupported flags now fail fast with a clear error, ensuring predictable and standards-aligned regex compilation and matching.