Jump to content

Recommended Posts

Posted

@Nine
When I tried your last code to small sample, it worked perfectly

but when I tried it to run bigger file to this line below, it doesn't worked

Local $aList = StringRegExp($sResult, "(?m)^([0-9A-F]{8}): ([0-9A-F]{2}) ([0-9A-F]{2})$", 3)

 

my fc result is 18,895 KB

when I tried that regex to https://regex101.com,

for small result, it worked perfectly

for huge result, there is information:
 

Your expression took too long to finish and was terminated. Please increase the timeout and try again.

This may be an indication of catastrophic backtracking. To find out more and what this is, please read the following article: Runaway Regular Expressions


Did I do something wrong?

Posted
5 hours ago, HezzelQuartz said:

my fc result is 18,895 KB

So almost every byte is different !   I cannot imagine what use you could make out of it ???  It's totally beyond me...

Anyway, if StringRegExp cannot manage such a large file, then you will need to read the file (FileRead), one line at a time, and do whatever you want to do with it.

 

Posted (edited)
1 hour ago, Nine said:

So almost every byte is different !   I cannot imagine what use you could make out of it ???  It's totally beyond me...

Anyway, if StringRegExp cannot manage such a large file, then you will need to read the file (FileRead), one line at a time, and do whatever you want to do with it.

 

 

I'm really sorry...

How to do fileread one line at a time?

Thank You

 

====================

 

Sorry, I think I have found how to do filereadline

 

Thank You

Edited by HezzelQuartz

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...