Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Aug 21, 2023
1 parent 2376e3f commit 6a9f011
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/elixir_sense/plugins/ecto/query.ex
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ defmodule ElixirSense.Plugins.Ecto.Query do
@join_opts [on: "A query expression or keyword list to filter the join."]

@var_r "[_\p{Ll}\p{Lo}][\p{L}\p{N}_]*[?!]?"
# elixir alias must be ASCII, no need to support unicode here
@mod_r "[A-Z][a-zA-Z0-9_\.]*"
@binding_r "(#{@var_r}) in (#{@mod_r}|assoc\\(\\s*#{@var_r},\\s*\\:#{@var_r}\\s*\\))"

Expand Down

0 comments on commit 6a9f011

Please sign in to comment.