Skip to content

Commit

Permalink
🐛 clean up regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Mar 1, 2024
1 parent f2dac55 commit fbe66ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public interface JsonTextReplacement extends JsonTextConverter<Tools5eIndexType>
static final Pattern footnotePattern = Pattern.compile("\\{@footnote ([^}]+)}");
static final Pattern abilitySavePattern = Pattern.compile("\\{@(ability|savingThrow) ([^}]+)}"); // {@ability str 20}
static final Pattern skillCheckPattern = Pattern.compile("\\{@skillCheck ([^}]+)}"); // {@skillCheck animal_handling 5}
static final Pattern optionalFeaturesFilter = Pattern.compile("\\{@filter ([^|}]+)\\|optionalfeatures\\|([^}]+)*}");
static final Pattern optionalFeaturesFilter = Pattern.compile("\\{@filter ([^|}]+)\\|optionalfeatures\\|([^}]*)}");
static final Pattern featureTypePattern = Pattern.compile("(?:[Ff]eature )?[Tt]ype=([^|}]+)");
static final Pattern featureSourcePattern = Pattern.compile("source=([^|}]+)");
static final Pattern superscriptCitationPattern = Pattern.compile("\\{@(sup|cite) ([^}]+)}");
Expand Down

0 comments on commit fbe66ce

Please sign in to comment.