commit 64a7a90b0772deb3330459ac1cb8d2dc120e4971 from: Sergey Bronnikov date: Wed Jul 27 06:59:11 2022 UTC man3: luaL_gsub.3 commit - a5160e1f37d2ebcacea3142b164a121004259f24 commit + 64a7a90b0772deb3330459ac1cb8d2dc120e4971 blob - /dev/null blob + 5645465edd2422ebca81c363538a1a86769fcdff (mode 644) --- /dev/null +++ man3/luaL_gsub.3 @@ -0,0 +1,24 @@ +.Dd $Mdocdate: July 24 2022 $ +.Dt LUAL_GSUB 3 +.Os +.Sh NAME +.Nm luaL_gsub +.Nd creates a copy of string A by replacing any occurrence of the string B with +the string C +.Sh SYNOPSIS +.In lauxlib.h +.Ft const char * +.Fn luaL_gsub "lua_State *L" "const char *s" "const char *p" "const char *r" +.Sh DESCRIPTION +.Fn luaL_gsub +creates a copy of string +.Fa s +by replacing any occurrence of the string +.Fa p +with the string +.Fa r . +Pushes the resulting string on the stack and returns it. +.Sh HISTORY +The +.Fn luaL_gsub +manual page was written by Sergey Bronnikov.