Loading...
Loading...
### Terraform Version ```shell Terraform v1.9.3 on linux_amd64 + provider registry.terraform.io/oracle/oci v6.31.0 ``` ### Terraform Configuration Files N/A. It's for regex function ### Debug Output ``` ...debug output, or link to a gist... ``` ### Expected Behavior when using regex function, it should allow positive and negative lookahead. ### Actual Behavior neither positive nor negative lookahead works with regex function ### Steps to Reproduce 1. terraform console (or try to use variable validation with regex function) 2. regex("^(?!.*--)[a-zA-Z0-9-]*$", "abc--a") or regex("^(?=.*--)[a-zA-Z0-9-]*$", "abc--a") 3. both will fail even though they are valid regex patterns ### Additional Context _No response_ ### References _No response_ ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.