Though enabling LegacyRouteDetection in Ingress Class Paramters Regex is not working as expected

I recently had migrated from Kong 2.8.3 to Kong 3.4.2, For IngressController as there was a field in IngressClassParamters to support older regex enableLegacyRegexDetection which I made True but it is still not reflected. Until and unless I added /~ to the Regex manually controller is not adding it by default. In the Kong Migration Guide I found this.

These are the changes made in the Kong as well

  1. Kong version

  2. enableLegacyRegexDetection is made True.

  3. The Ingress path that I am using is /(.*).
    It is expected that with all these configurations Ingress Controller itself adds ~ while Reconcialiation. Which is not being the case.