Setting up regex-style rewrite rules within Drupal? I have a couple of legacy rewrite rule redirects that I've traditionally put in .htaccess. For instance, paths are of the format:

story/[story:title]

And paths like:

story/[story:nid]

redirect to that.

Is there any way of setting up regex-matching redirects within Drupal? I could always do it in .htaccess, but that would get overwritten on the next Drupal core update. Further, it seems that Boost is nerfing any redirect I put in .htaccess -- the above hasn't worked since I installed its redirect rules.

Thanks!
Well if you are familiar with PHP and preg_match, you could theoretically install Drupal rules module and write custom rules using PHP to redirect pages inside Drupal without touching .htaccess file.