pidgin/pidgin

Port purple_str_to_time to regex and add additional tests
release-2.x.y
2021-09-16, Gary Kramlich
ac6dbd45da27
Port purple_str_to_time to regex and add additional tests

Testing Done:
Ran the unit tests with the normal `./autogen.sh` as well as a setup for fuzzing.

Reviewed at https://reviews.imfreedom.org/r/923/
#include "conversation.h"
PurpleAccount *purple_accounts_find_ext(const char *name, const char *protocol_id,
gboolean (*account_test)(const PurpleAccount *account));
PurpleAccount *purple_accounts_find_any(const char *name, const char *protocol);
PurpleAccount *purple_accounts_find_connected(const char *name, const char *protocol);