Convert Backticked Identifiers to Camel Case
Problem statement
Delimiter code point 96 encloses space-separated lowercase snake_case identifiers or UPPER_CASE constants. Convert eligible lowercase identifiers inside delimiters to camelCase. Preserve uppercase constants and all outside text.
Function
convertBacktickedIdentifiers(docstring: String) → StringExamples
Example 1
docstring = "Use `foo_bar MAX_VALUE` now"return = "Use `fooBar MAX_VALUE` now"Only eligible identifiers inside the delimited region change.
Example 2
docstring = "`one_two three` outside_name"return = "`oneTwo three` outside_name"Only eligible identifiers inside the delimited region change.
Constraints
0 <= docstring.length <= 100000- Delimiters are balanced.