Skip to content

Instantly share code, notes, and snippets.

@davidjgoss
Created August 16, 2019 07:51
Show Gist options
  • Save davidjgoss/7c04762d1527dae6d0a42bf91db5de83 to your computer and use it in GitHub Desktop.
Save davidjgoss/7c04762d1527dae6d0a42bf91db5de83 to your computer and use it in GitHub Desktop.
Regex to change builder usage from `.withFoo` to `.foo` for Lombok

Find:

\.with(\w{1})

Replace:

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