Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ec94020ef |
@@ -54,6 +54,7 @@ def parse_bban(bban_string, country_code, _options) do
|
||||
|> parse_bban_by_regex(bban_string)
|
||||
end
|
||||
|
||||
defp parse_bban_by_regex(_regex, nil), do: %{}
|
||||
defp parse_bban_by_regex(regex, bban_string) do
|
||||
case Regex.named_captures(regex, bban_string) do
|
||||
map when is_map(map) ->
|
||||
|
||||
Reference in New Issue
Block a user