view foosdk/sdk/pfc/wildcard.h @ 1:20d02a178406 default tip

*: check in everything else yay
author Paper <paper@tflc.us>
date Mon, 05 Jan 2026 02:15:46 -0500
parents
children
line wrap: on
line source

#pragma once

namespace wildcard_helper
{
	bool test_path(const char * path,const char * pattern,bool b_separate_by_semicolon = false);//will extract filename from path first
	bool test(const char * str,const char * pattern,bool b_separate_by_semicolon = false);//tests if str matches pattern
	bool has_wildcards(const char * str);
	const char * get_wildcard_list();
	bool is_wildcard(char c);
};