Iulia Dumitru

Results 14 issues of Iulia Dumitru

In the documentation for [`encrypt`](https://docs.juliahub.com/MbedTLS/bf9T0/1.0.2/autodocs/#MbedTLS.encrypt) one possible method to specify the cipher is as a `Cipher` object. However, this throws an error: ```julia julia> using MbedTLS julia> secret_key = rand(UInt8,...

**Describe the bug** Regex expressions are start-of-string-anchored but not end-of-string-anchored. For example, searching for a string metavariable that contains only `string` like this: ``` patterns: - pattern: $FUN(..., "$STR", ...)...

priority:low
feature:metavariable-regex

This is an attempt to integrate Pinecone into PromptingTools. The preparation and retrieval steps are not necessary with Pinecone. The result of the Pinecone query serves as context in the...

**Describe the bug** In Julia, it is valid to have a function definition with macros around arguments. An example for this is the [`@nospecialize`](https://docs.julialang.org/en/v1/base/base/#Base.@nospecialize) macro. Semgrep doesn't think this is...

bug
parsing
lang:julia

**Describe the bug** When [trying to use](https://semgrep.dev/playground/s/5rGkK) a metavariable captured with a named capture group in a `metavariable-pattern`, I get the following error message: ``` Internal matching error when running...

bug
parsing
lang:julia

**Describe the bug** In other languages and in generic mode it is possible to represent a variable in a string, but in Julia it is not. The desired behaviour is...

enhancement
user:external
feature:matching
lang:julia

**Describe the bug** Something like `@assert f(x) === true` is not matched with `pattern: @assert $X === ...` because the `===` doesn't get parsed correctly. If there is no macro,...

lang:julia

**Is your feature request related to a problem? Please describe.** It would be nice to have named capture groups in `fix-regex`. This might be related to #3269, but it's not...

enhancement
feature:metavariable-regex

**Is your feature request related to a problem? Please describe.** Sometimes I need a rule with a `pattern-either` that binds a metavariable (say `$X`) only in some cases, and I...

enhancement
feature:metavariable

**Describe the bug** In Julia, juxtaposing a bunch of expressions with commas gets interpreted as a tuple: ```julia julia> 1, 2, "a" (1, 2, "a") julia> ans |> typeof Tuple{Int64,...

bug
lang:julia