aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/laria/code
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/laria/code')
-rw-r--r--src/main/java/me/laria/code/idea_caseconv/WordSplitConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/laria/code/idea_caseconv/WordSplitConverter.java b/src/main/java/me/laria/code/idea_caseconv/WordSplitConverter.java
index 9b87a25..1c3070f 100644
--- a/src/main/java/me/laria/code/idea_caseconv/WordSplitConverter.java
+++ b/src/main/java/me/laria/code/idea_caseconv/WordSplitConverter.java
@@ -9,7 +9,7 @@ class WordSplitConverter {
Pattern decamelize = Pattern.compile("(?<![A-Z])[A-Z]");
s = decamelize.matcher(s).replaceAll(" $0");
- String[] all_parts = s.split("[\\s_-]");
+ String[] all_parts = s.split("[\\s_.-]");
ArrayList<String> parts = new ArrayList<>();
for (String p : all_parts) {
p = p.trim();