0 votes

I’m finding that RegEx Pal in PTX 9 is much slower in executing than in PTX8.

Also, when it finds something that I want to look at in the PTX9 project, it often crashes when I click in the project.

Anyone else experiencing these two things?

Anything I can do to speed it up or keep it from crashing?

Paratext by (188 points)

1 Answer

0 votes
Best answer

Probably the best option is to do some RegExPal searches in Paratext 9 that have been a problem for you and then send a problem report.

This will provide us some details that we can use to research the problem.

I don’t see any recent automatic error reports from you, so the crashes are probably Windows level crashes that aren’t sending in automatic reports. Here are some steps you can use to get crash information from Windows:

  1. Click the Windows icon and type: Event Viewer (you may see it as an option before you are finished typing)
  2. In the left pane, click on Windows Logs and then Application
  3. Click on “Filter Current Log…” in the right pane
  4. Change the “Logged:” drop down from “Any time” to “Last 7 days” and click OK.
  5. Click on “Save Filtered Log File As” in the right pane and create a file
  6. Send the created file back

You can send the file in a reply to the message you get when you create a problem report.

John+Wickberg
Paratext Support

by [Administrator]
(3.1k points)

reshown

Hi John+Wickberg,

Today, I ran the following regular expressions 2 times: once while RegEx Pal was running at top speed and once when it started slowing down.

My experience is that RegEx Pal starts slowing down after I run 2-3 patterns. When it starts slowing down, I close it, and then it returns to top speed.

Delete space before closing tag

( )(\[a-z0-9*]+*)#\2

15.74 sec/36.63 sec

Delete space before a character style closing tag to after it (ignores \f*, \x*, \fe*)

(\s)(\+?((?!(f|x|fe))\S)**)#\2\1

17.52 sec /36.12 sec

Delete space before tag preceding punctuation

( )(\[a-z0-9*]+)([\p{P}-[*]])#\2\3

20.45 sec /40.69 sec

I have also attached an Event file even though it hasn’t crashed in several days.

Hope this helps,

anon180868

(Attachment RegExPalSpeed.evtx is missing)

Hello anon180868,

Sorry to be slow to respond.

I tried repeating a couple of your patterns a few times, but didn’t notice any difference, so my guess is that something else is going on as you repeat runs.

Probably the best option is to send in a problem report so we can see if there is anything unusual in the log.

John+Wickberg

Related questions

+1 vote
5 answers
0 votes
3 answers
Paratext Mar 15, 2018 asked by SIL LSS PNG (411 points)
0 votes
5 answers
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For we were all baptized by one Spirit so as to form one body—whether Jews or Gentiles, slave or free—and we were all given the one Spirit to drink.
1 Corinthians 12:13
2,633 questions
5,377 answers
5,046 comments
1,420 users