Skip to content

Commit

Permalink
Merge pull request #13 from PumasAI/mh/additional-env-chars
Browse files Browse the repository at this point in the history
Allow additional characters in env names
  • Loading branch information
MichaelHatherly authored Apr 5, 2024
2 parents 85f7090 + aaad00a commit aea3a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/code_stripping.jl
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ function _check_required_deps(deps)
end
end

_match_env_name(name::AbstractString) = match(r"^[a-zA-Z][a-zA-Z0-9_\-\.\+~]+$", name)
_match_env_name(name::AbstractString) = match(r"^[a-zA-Z][a-zA-Z0-9_\-\.\+~@]+$", name)

function _find_uuids_to_strip(stripped::Dict{String,String})
return Dict(k => _inc_uuid(k) for (k, v) in stripped)
Expand Down

0 comments on commit aea3a02

Please sign in to comment.