HezzelQuartz Posted December 1, 2024 Author Posted December 1, 2024 @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?
Nine Posted December 1, 2024 Posted December 1, 2024 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. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
HezzelQuartz Posted December 1, 2024 Author Posted December 1, 2024 (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 December 1, 2024 by HezzelQuartz
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now