Gautam Suthar
Gautam Suthar
### Summary Closes #94 This PR refactors the complex regex logic in `src/index.ts` by extracting it into a dedicated `title-regex.ts` module. ### Changes - Created a new module `src/title-regex.ts` -...
The main regex in `src/index.ts` is functionally correct but difficult to read and understand. This affects maintainability and onboarding of new contributors. ### Suggested Fix Extract named parts (e.g., word...
Closes : #92 This PR adds commonly used lowercase words such as `vs`, `aka`, `etc`, `i.e.`, `e.g.`, `lest`, and `notwithstanding` to the existing titlecasing rules in `lowerCase`. These are often...
I’d like to improve the default title casing logic by adding lowercase words like `vs`, `aka`, `i.e.`, `e.g.`, and others that are commonly excluded from capitalization.