# regex substitution

Bolie Williams IV (bolie@io.com)
Mon, 4 Mar 1996 21:29:37 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    Is there a verb which does substitution based on regex pattern
    matching?  $string_utils:substitute doesn't, but it would be nice
    if it did.  If not, then does someone have some pre-written code
    which does this.  I'd rather not write it myself if it's already
    been done.  :)

    My application is filters, such as for drunk players, but more
    general.  I'd like to match patterns and replace them with any
    other text to change speech.  If anyone has already done filters,
    I'd be interested in seeing them.

    (Lou?)

    Bolie IV

    ---------------------------------------------------------------w-w---
    Bolie Williams IV                                             ( ^ )
    Systems Administrator                                         (O O)
    Rice University                                                v-v
    ----- bolie@io.com - bolie@rice.edu - http://www.io.com/~bolie/ -----