Python Forum
re.finditer issue, output is blank
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
re.finditer issue, output is blank
#2
In your regex, ip address comes before description, in the input file, it's the opposite.
Also, if this is a common file format, you might want to try looking up an existing parser instead of doing your own regex-based parsing.
Reply


Messages In This Thread
re.finditer issue, output is blank - by anna - Feb-07-2019, 09:47 AM
RE: re.finditer issue, output is blank - by stranac - Feb-07-2019, 10:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Why the blank lines in output? Mark17 6 1,444 Jun-27-2022, 11:21 PM
Last Post: Mark17
  blank graph with matplotlib from a csv file / data type issue arsentievalex 0 1,956 Apr-06-2021, 10:08 AM
Last Post: arsentievalex
  CSV gives me blank row on PC, but not a Mac bazcurtis 2 2,799 Jan-06-2020, 08:40 AM
Last Post: buran
  multithreading issue with output mr_byte31 4 3,204 Sep-11-2019, 12:04 PM
Last Post: stullis
  Output issue twinpiques 6 3,187 Jul-29-2019, 11:24 PM
Last Post: Yoriz
  25 blank lines in my sorted_fruits output list! raven61 7 4,287 Aug-09-2018, 11:30 PM
Last Post: raven61
  Paramiko output printing issue anna 3 16,055 Feb-06-2018, 08:34 AM
Last Post: anna
  Encoding issue for the console output ted_chou12 4 3,456 Sep-08-2017, 09:11 AM
Last Post: ted_chou12
  Using mmap.mmap and re.finditer Larz60+ 3 4,203 Apr-26-2017, 02:57 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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