Skip to content

Conversation

@KaoKsn
Copy link

@KaoKsn KaoKsn commented Jan 4, 2026

The current version of the code converts the first capital letter it encounters into a '.' [dot]

For Example:

Foo baR baz
is converted to
.oo ba. baz

Using sed on every item in the array, the regex ^[A-Z] can be used to target just the first letter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant