From 128bc87156e42a75c4cdc5fa9ead725253855677 Mon Sep 17 00:00:00 2001 From: bjculkin Date: Tue, 4 Apr 2017 20:42:47 -0400 Subject: Add test output Also, some plural fixes --- src/main/java/bjc/inflexion/v2/InflectionAffixes.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/bjc/inflexion/v2/InflectionAffixes.java b/src/main/java/bjc/inflexion/v2/InflectionAffixes.java index b47af00..6ff86b7 100644 --- a/src/main/java/bjc/inflexion/v2/InflectionAffixes.java +++ b/src/main/java/bjc/inflexion/v2/InflectionAffixes.java @@ -32,7 +32,7 @@ public class InflectionAffixes { * * The word is in a capturing group named 'stem'. */ - private static final String COMPLETE_PATT_FMT = "^(?\\w*)%s$"; + private static final String COMPLETE_PATT_FMT = "(?\\w*)%s$"; /* * Template for 'incomplete' affix patterns. @@ -42,7 +42,7 @@ public class InflectionAffixes { * * The word is in a capturing group named 'stem'. */ - private static final String INCOMPLETE_PATT_FMT = "^(?\\w+)%s$"; + private static final String INCOMPLETE_PATT_FMT = "(?\\w+)%s$"; /** * Create an affix that's a word by itself. -- cgit v1.2.3