Revision history for Perl module Text::VisualWidth::PP
0.09 2026-11-02T10:26:30Z
commit 1bdda0bff524833eceffcf05bed6985bb5fda6c0
Author: Kazumasa Utashiro <kaz@utashiro.com>
Date: Sun Nov 1 12:16:47 2026 +0900
Speed up width by compiling its regexes once
Build the regexes for both $EastAsian settings when the module is
loaded, avoiding repeated pattern parsing on each width() call.
commit 7a3c542b4535d446b0c2f2190600e5c69ecb2262
Author: Kazumasa Utashiro <kaz@utashiro.com>
Date: Sun Nov 1 13:12:41 2026 +0900
Use the East_Asian_Width property of perl from 5.30
Follow the Unicode version bundled with perl 5.30 and later when
determining character widths. Keep the existing Unicode table for
older perls.
0.08 2025-02-26T06:47:09Z
commit d10bff3580c0914cf716170a4e9a232b5b508a3e
Author: Kazumasa Utashiro <kaz@utashiro.com>
Date: Fri Feb 21 16:04:43 2025 +0900
Update Emoji_Modifier handling. Fix #11
* count width of E_Modifier not following E_Base
- Still define utf8::Is_Emoji_Modifier for < v5.32
- Line_Break=E_Base/E_Modifier properties are available from v5.28
(available in v5.26 but not stable)
0.07 2025-01-30T00:55:49Z
commit 84273797f32fc98eb05e90cca32967e37dd2e9df
Author: Kazumasa Utashiro <kaz@utashiro.com>
Date: Wed Jan 29 16:10:54 2025 +0900
Support EMOJI MODIFIER and ZERO WIDTH JOINER
- do not count character width right after \N{ZERO WIDTH JOINER}
- make EMOJI MODIFIER as zero-width
* use \p{Emoji_Modifier} property
* define utf8::Is_Emoji_Modifier() if older than v5.32
0.06 2025-01-27T15:19:37Z
- Update trim() to handle ambiguous character properly. Resolves #6, #10
(kaz-utashiro)
https://github.com/tokuhirom/Text-VisualWidth-PP/pull/9
- Ignore Default_Ignorable Code Points #8
(DabeDotCom)
https://github.com/tokuhirom/Text-VisualWidth-PP/pull/8
- Fix combined character test to run with perl < 5.12 #7
(kaz-utashiro)
https://github.com/tokuhirom/Text-VisualWidth-PP/pull/7
- Load "charnames" and SKIP test when unicode name is not available. #5
(kaz-utashiro)
https://github.com/tokuhirom/Text-VisualWidth-PP/pull/5
0.05 2017-11-22T02:30:45Z
- Support unicode combining characters
(kaz-utashiro)
https://github.com/tokuhirom/Text-VisualWidth-PP/pull/3
0.04 2013-09-09T07:43:04Z
- Notes about Unicode::EastAsianWidth::Detect
0.03 2013-08-09T05:19:48Z
- Added vwidth, vtrim for better user experience.
0.02 2013-08-06T05:24:48Z
- Added $Text::VisualWidth::PP::EastAsian
0.01 2010-06-13
- original version
Keyboard Shortcuts
Global
s
Focus search bar
?
Bring up this help dialog
GitHub
gp
Go to pull requests
gi
Go to GitHub issues (only if GitHub is preferred repository)