Skip to content

Instantly share code, notes, and snippets.

@bradfordw
Created January 25, 2012 20:36
Show Gist options
  • Save bradfordw/1678567 to your computer and use it in GitHub Desktop.
Save bradfordw/1678567 to your computer and use it in GitHub Desktop.
Line 97:
case re:run(Key, "^(\\w+)(?:\\[([\\w\\[\\]]+)\\]|\\[\\])?$", [{capture, all_but_first, list}]) of
Line 91:
find_deep_post_param([Index|Rest], Params) when is_list(Index) ->
find_deep_post_param(Rest,case proplists:get_values(Index, Params) of
[V] -> V;
V -> V
end).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment