generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Python equivalent of s:match() function

Previous Thread :: Next Thread 
DJ3SkullsEden is not online. DJ3SkullsEden
Joined: 06 Dec 2016
Total Posts: 182
08 Feb 2017 05:51 PM
^
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
08 Feb 2017 05:53 PM
could you explain what it does that ( mystring ):match( ... ) or string.match( mystring, ... ) does not
Report Abuse
DJ3SkullsEden is not online. DJ3SkullsEden
Joined: 06 Dec 2016
Total Posts: 182
08 Feb 2017 05:58 PM
To my knowledge, that string manipulating function doesn't exist.
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
08 Feb 2017 05:59 PM
oh ok the python equivalent of lua code my bad i thought you meant the equivalent of s:match() in python to lua
Report Abuse
DJ3SkullsEden is not online. DJ3SkullsEden
Joined: 06 Dec 2016
Total Posts: 182
08 Feb 2017 06:07 PM
Nope. Thanks though.

Bump = 1
Report Abuse
DJ3SkullsEden is not online. DJ3SkullsEden
Joined: 06 Dec 2016
Total Posts: 182
08 Feb 2017 06:40 PM
Bump = 2
Report Abuse
DJ3SkullsEden is not online. DJ3SkullsEden
Joined: 06 Dec 2016
Total Posts: 182
08 Feb 2017 07:02 PM
Bump = 3

WHERE DID YOU COME FROM, WHERE DID YOU GO?
WHERE DID YOU COME FROM, COTTON-EYED JOE?
Report Abuse
Equilibristic is not online. Equilibristic
Joined: 03 Sep 2010
Total Posts: 750
08 Feb 2017 07:03 PM
Wish I could help, but I have stumbled across C++, I tried python
but sadly quit.


Report Abuse
DJ3SkullsEden is not online. DJ3SkullsEden
Joined: 06 Dec 2016
Total Posts: 182
08 Feb 2017 07:11 PM
;(

bUMP = 4
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
08 Feb 2017 07:15 PM
docs.python.
org/2/library/re.
html
Report Abuse
DJ3SkullsEden is not online. DJ3SkullsEden
Joined: 06 Dec 2016
Total Posts: 182
08 Feb 2017 08:21 PM
@cntkillme

Think there's one for s:gmatch() as well?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
08 Feb 2017 08:27 PM
Probably but I don't know Python but just use findall

for (blah, blah) in re.findall(pattern, string):
stuff
Report Abuse
DJ3SkullsEden is not online. DJ3SkullsEden
Joined: 06 Dec 2016
Total Posts: 182
08 Feb 2017 08:57 PM
Thanks for helping out even though this wasn't related to Lua. Appreciate it! ^^
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image