Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug interpreting regex {} as glue syntax in col_vals_regex() autobriefs #600

Closed
yjunechoe opened this issue Feb 17, 2025 · 1 comment
Closed

Comments

@yjunechoe
Copy link
Collaborator

create_agent(small_table) %>% 
  col_vals_regex(b, "^\\d{1,2}") %>% 
  interrogate()
#> Error:
#> ! Failed to parse glue component
#> Caused by error in `parse()`:
#> ! <text>:1:2: unexpected ','
#> 1: 1,
#>      ^

create_agent(small_table) %>% 
  col_vals_regex(b, "^\\d{1,2}", brief = "") %>% 
  interrogate()
#> 
#> ── Interrogation Started - there is a single validation step ─────────────────────
#> ✔ Step 1: OK.
#> 
#> ── Interrogation Completed ───────────────────────────────────────────────────────

Originally posted by @yjunechoe in #598

@yjunechoe
Copy link
Collaborator Author

Closed by #601

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant