I have encountered this issue when i tried to reuse the regexp strings by including them in a separate class as constants and use the constants in the regexp attribute of the @Pattern. every time i modify the annotation in IntelliJ like the following:
@Pattern(regexp = RegexpService.ALPHABET_WITH_SPACES_IN_BETWEEN)
and when i switch back to the studio i find it:
@Pattern("regexp = “.”)
any idea how i can disable this behavior?