<s>
In	O
computer	B-General_Concept
science	I-General_Concept
,	O
the	O
Krauss	B-Algorithm
wildcard-matching	I-Algorithm
algorithm	I-Algorithm
is	O
a	O
pattern	B-Language
matching	I-Language
algorithm	O
.	O
</s>
<s>
Based	O
on	O
the	O
wildcard	B-Algorithm
syntax	I-Algorithm
in	O
common	O
use	O
,	O
e.g.	O
</s>
<s>
in	O
the	O
Microsoft	B-Application
Windows	I-Application
command-line	B-Application
interface	I-Application
,	O
the	O
algorithm	O
provides	O
a	O
non-recursive	O
mechanism	O
for	O
matching	O
patterns	O
in	O
software	O
applications	O
,	O
based	O
on	O
syntax	O
simpler	O
than	O
that	O
typically	O
offered	O
by	O
regular	B-Language
expressions	I-Language
.	O
</s>
<s>
The	O
algorithm	O
is	O
based	O
on	O
a	O
history	O
of	O
development	O
,	O
correctness	O
and	O
performance	O
testing	O
,	O
and	O
programmer	O
feedback	O
that	O
began	O
with	O
an	O
unsuccessful	O
search	O
for	O
a	O
reliable	O
non-recursive	O
algorithm	O
for	O
matching	O
wildcards	B-Algorithm
.	O
</s>
<s>
The	O
experience	O
tuning	O
the	O
single	O
while	O
loop	O
using	O
the	O
profiler	O
prompted	O
development	O
of	O
a	O
two-loop	O
strategy	O
that	O
achieved	O
further	O
performance	O
gains	O
,	O
particularly	O
in	O
situations	O
involving	O
empty	O
input	O
strings	O
or	O
input	O
containing	O
no	O
wildcard	B-Algorithm
characters	I-Algorithm
.	O
</s>
<s>
The	O
two-loop	O
algorithm	O
is	O
available	O
for	O
use	O
by	O
the	O
open-source	B-Application
software	I-Application
development	O
community	O
,	O
under	O
the	O
terms	O
of	O
the	O
Apache	B-Application
License	I-Application
v	O
.	O
2.0	O
,	O
and	O
is	O
accompanied	O
by	O
test	O
case	O
code	O
.	O
</s>
<s>
The	O
algorithm	O
made	O
available	O
under	O
the	O
Apache	B-Application
license	I-Application
is	O
implemented	O
in	O
both	O
pointer-based	O
C++	B-Language
and	O
portable	O
C++	B-Language
(	O
implemented	O
without	O
pointers	O
)	O
.	O
</s>
<s>
The	O
test	O
case	O
code	O
,	O
also	O
available	O
under	O
the	O
Apache	B-Application
license	I-Application
,	O
can	O
be	O
applied	O
to	O
any	O
algorithm	O
that	O
provides	O
the	O
pattern	B-Language
matching	I-Language
operations	O
below	O
.	O
</s>
<s>
The	O
algorithm	O
supports	O
three	O
pattern	B-Language
matching	I-Language
operations	O
:	O
</s>
<s>
A	O
one-to-one	O
match	O
is	O
performed	O
between	O
the	O
pattern	O
and	O
the	O
source	O
to	O
be	O
checked	O
for	O
a	O
match	O
,	O
with	O
the	O
exception	O
of	O
asterisk	O
( *	O
)	O
or	O
question	O
mark	O
(	O
?	B-Device
)	O
</s>
<s>
An	O
asterisk	O
( *	O
)	O
character	O
matches	O
any	O
sequence	O
of	O
zero	O
or	O
more	O
characters	O
.	O
</s>
<s>
A	O
question	O
mark	O
(	O
?	B-Device
)	O
</s>
<s>
???	O
</s>
<s>
*	B-Device
matches	O
any	O
string	O
of	O
three	O
or	O
more	O
letters	O
.	O
</s>
<s>
The	O
original	O
algorithm	O
has	O
been	O
ported	O
to	O
the	O
DataFlex	B-Application
programming	O
language	O
by	O
Larry	O
Heiges	O
for	O
use	O
with	O
Data	B-Application
Access	I-Application
Worldwide	I-Application
code	O
library	O
.	O
</s>
<s>
The	O
2014	O
algorithm	O
is	O
part	O
of	O
the	O
Unreal	O
Model	O
Viewer	O
built	O
into	O
the	O
Epic	O
Games	O
Unreal	B-Operating_System
Engine	I-Operating_System
game	O
engine	O
.	O
</s>
