mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
let the past begone in cvs land. welcome to igit igit!
This commit is contained in:
commit
4e601cf1c7
509 changed files with 77963 additions and 0 deletions
16
place/buper.c
Normal file
16
place/buper.c
Normal file
|
@ -0,0 +1,16 @@
|
|||
#define NAME "Buper"
|
||||
|
||||
#include <place.gen>
|
||||
|
||||
/* fun room */
|
||||
|
||||
msg(source, mc, data, mapping vars) {
|
||||
string a;
|
||||
if (stringp(data)) {
|
||||
// does this need special treatment now that system
|
||||
// charset is utf8 ? iconv before and after ? lol.
|
||||
data = regreplace(data, "(^| )([aeiouüöäAEIOUÜÖÄ])", "\\1b\\2", 1);
|
||||
data = regreplace(data, "\\<[a-zA-Z]", "b", 1);
|
||||
}
|
||||
return ::msg(source, mc, data, vars);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue