Skip to content

Commit

Permalink
Merge branch 'refs/heads/master' into ver/1.2.0
Browse files Browse the repository at this point in the history
# Conflicts:
#	generator/accessor/src/main/kotlin/me/kcra/takenaka/generator/accessor/context/impl/KotlinGenerationContext.kt
  • Loading branch information
zlataovce committed May 12, 2024
2 parents 56645ff + be65df7 commit bec2d6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package me.kcra.takenaka.generator.accessor.util
/**
* A regular expression for matching lowerCamelCases and UpperCamelCases.
*/
private val CAMEL_REGEX = "(?<=[a-zA-Z])[A-Z]".toRegex()
private val CAMEL_REGEX = "(?<=[a-z])[A-Z]".toRegex()

/**
* Converts a camelCase string (of any kind) to a UPPER_SNAKE_CASE variant.
Expand Down

0 comments on commit bec2d6d

Please sign in to comment.