summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/inflexion/v2/InflectionAffixes.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/bjc/inflexion/v2/InflectionAffixes.java')
-rw-r--r--src/main/java/bjc/inflexion/v2/InflectionAffixes.java4
1 files changed, 2 insertions, 2 deletions
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 = "^(?<stem>\\w*)%s$";
+ private static final String COMPLETE_PATT_FMT = "(?<stem>\\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 = "^(?<stem>\\w+)%s$";
+ private static final String INCOMPLETE_PATT_FMT = "(?<stem>\\w+)%s$";
/**
* Create an affix that's a word by itself.