Skip to content

Commit

Permalink
Cats can have normal a regex replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Dec 23, 2024
1 parent 65bf72a commit cbb4376
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
/**
* A segmentation rule expressed as in UAXes #14 and #29.
*
* A remap rule performs normal a regex replacement applied to the remapped
* string.
* This replacement may use capturing groups. Any positions in the original
* string that correspond
* to positions within the replaced text are resolved to NO_BREAK by this rule.
* The application of a remap rule is a normal regex replacement on the remapped
* string. This replacement may use capturing groups. Any positions in the
* original string that correspond to positions within the replaced text are
* resolved to NO_BREAK by this rule.
*/
public class RemapRule extends SegmentationRule {
RemapRule(String name, String pattern, String replacement) {
Expand Down

0 comments on commit cbb4376

Please sign in to comment.