On 2013-05-24 13:20, Orchid Win7 v1 wrote:
> Suppose I give you two arbitrary regular expressions. Are they equivalent?
>
> Does there exist an algorithm to determine whether two regexes are
> equivalent?
Piece of cake:
if( string RegExp1 == string RegExp2 ){
printf( "They're equivalent!\n" );
}else{
printf( "They're not identically equivalent!\n" );
}
*wink*
Post a reply to this message
|