Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
split by character class
#4
it works as re.split('(\d+)',...), e.g. not raw. apparently there is no \d backslash sequence. but i think this is not a good way to code.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
split by character class - by Skaperen - Jul-10-2019, 05:14 AM
RE: split by character class - by Gribouillis - Jul-10-2019, 07:31 AM
RE: split by character class - by Skaperen - Jul-10-2019, 07:51 AM
RE: split by character class - by Skaperen - Jul-15-2019, 02:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Class and methods ebn852_pan 15 856 May-23-2024, 11:57 PM
Last Post: ebn852_pan
  Class test : good way to split methods into several files paul18fr 4 628 Jan-30-2024, 11:46 AM
Last Post: Pedroski55
  [split] Class takes no arguments bily071 2 737 Oct-23-2023, 03:59 PM
Last Post: deanhystad
  How to split the input taken from user into a single character? mHosseinDS86 3 1,274 Aug-17-2022, 12:43 PM
Last Post: Pedroski55
  [solved] unexpected character after line continuation character paul18fr 4 3,619 Jun-22-2021, 03:22 PM
Last Post: deanhystad
  SyntaxError: unexpected character after line continuation character siteshkumar 2 3,288 Jul-13-2020, 07:05 PM
Last Post: snippsat
  [split] Python Class Problem astral_travel 12 5,170 Apr-29-2020, 07:13 PM
Last Post: michael1789
  how can i handle "expected a character " type error , when I input no character vivekagrey 2 2,830 Jan-05-2020, 11:50 AM
Last Post: vivekagrey
  Replace changing string including uppercase character with lowercase character silfer 11 6,395 Mar-25-2019, 12:54 PM
Last Post: silfer
  [split] python class JPan 6 3,699 Aug-19-2018, 04:58 PM
Last Post: JPan

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020