boostorg/build — pull request #35 by frenchtoast747 (2014-09-04 18:26:59+00:00)
Title: Python Port: Jam rules to Python functions

There are some Jam rules being used in our Jamfiles that haven't been ported yet. These changes port those rules to functions.

As far as I know, there isn't an equivalent Python standard lib function for `path.reverse()`.

`regex.replace()` and `regex.replace_list()` aren't necessary on the Python side due to having access to the `re` module, however, it's still a great help on the Jam side. The only other solution would be to allow all Python modules (such as `re`) to be importable on the Jam side.