Relative Content

Tag Archive for javaregexregex-group

Regex to find methods that have an ‘inner’ method

I’m working on some upkeep for a monolithic java codebase, where it was discovered that some of the @GET methods will actually start a write session, and should thus actually be @POST methods. I wrote the following regex to aide my search: