Skip to content

Commit

Permalink
1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
kimcore committed Aug 6, 2022
1 parent 3ebfb00 commit a7e3c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/github/kimcore/josa/Josa.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ object Josa {
|| (value.trim().length == 1 && "[lnmr]$".toRegex(RegexOption.IGNORE_CASE).matches(value))
|| ("[\\d]+$".toRegex().matches(value) && "[013678]$".toRegex().containsMatchIn(value))

return if (hasConsonant) second else first
return if (hasConsonant) first else second
}

fun getAttached(input: String, format: String, alternative: String? = null) =
Expand Down

0 comments on commit a7e3c73

Please sign in to comment.