Simple patch. Instead of checking for literal values allows for regex's (via ereg).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JacobSingh’s picture

FileSize
1.16 KB

damn it, upload name got borked,,,

2nd try.

JacobSingh’s picture

FileSize
828 bytes

Okay...

I'm really sorry about that. This is my first patch and it seems my indentation was set up wrong.

Hopefully the last try.

yched’s picture

this probably need some reviewing before RTBC :-)

Plus see also
http://drupal.org/node/84791
and http://drupal.org/node/84791

Clearly there's a need for the functionnality :-)

yched’s picture

Oops, I posted the same link twice.

I meant :
http://drupal.org/node/84791
and http://drupal.org/node/83841

yched’s picture

OK, well, marking this one as a duplicate of Squeeself's patch, which seems more reliable.

yched’s picture

Status: Reviewed & tested by the community » Closed (duplicate)
kenorb’s picture