# Regex Extractor Troubles

**URL:** <https://forum.knime.com/t/regex-extractor-troubles/31402>\
**Category:** Community Extensions\
**Tags:** palladian-selenium\
**Created:** [March 12, 2021, 2:09pm UTC](https://forum.knime.com/t/regex-extractor-troubles/31402 "2021-03-12T14:09:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PBJ](https://forum-cdn.knime.com/user_avatar/forum.knime.com/pbj/32/31549_2.png) [@PBJ](https://forum.knime.com/u/PBJ)\
**Post date:** [March 12, 2021, 2:09pm UTC](https://forum.knime.com/t/regex-extractor-troubles/31402/1 "2021-03-12T14:09:33Z")

</div>

With extraction of “session” from a log file (enclosed file) ,“Regex Extractor” take a long time to open the configuration window and a lot of memory to parse the log file and the configuration window doesn’t show correctly the parsed groups (see the red arrow in the snapshot)…

[new 13.txt](https://forum.knime.com/uploads/short-url/kDmY29LPHYhFBclGx7fqBcVXr9p.txt) (71,2 Ko)

![image](https://forum-cdn.knime.com/uploads/default/original/3X/f/5/f5f7172e57ca0e9f5d4c440d644b357b279e6e67.png)

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/f/c/fc52483f7befb0b71c4af20d6810e7f25e78871a.png)

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/f/c/fceb6d6e9e8852911470635548b20a6d5f0f22b1.png)

The execution gives the attended result:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/c/e/ce5b7fb604b7c07935a85170628329b7a7f50f73.png)

---

<div class="post-metadata">

**Author:** ![qqilihq](https://forum-cdn.knime.com/user_avatar/forum.knime.com/qqilihq/32/50_2.png) [@qqilihq](https://forum.knime.com/u/qqilihq)\
**Post date:** [March 12, 2021, 3:06pm UTC](https://forum.knime.com/t/regex-extractor-troubles/31402/2 "2021-03-12T15:06:56Z")

</div>

Hi PBJ,

1. Generally, the Regex Extractor is not intended for huge texts. This is more a limitation of regular expressions in general (and specifically the kind of regular expression which you use – some expressions are “cheaper” to evaluate than others).

2. We have a timeout built in to avoid locking up the UI with “expensive” REs and/or long texts.

3. Still, I would like to take the time to investigate if there’s something to improve on our end. Could you please post an example workflow which shows this issue?

THANKS  
Philipp

---

<div class="post-metadata">

**Author:** ![PBJ](https://forum-cdn.knime.com/user_avatar/forum.knime.com/pbj/32/31549_2.png) [@PBJ](https://forum.knime.com/u/PBJ)\
**Post date:** [March 12, 2021, 6:14pm UTC](https://forum.knime.com/t/regex-extractor-troubles/31402/3 "2021-03-12T18:14:23Z")

</div>

I send you the workflow and data related (file “new 13.txt”) here under…

The workflow runs fine (even with larger log files at light speed 🙂 )  
The problem is the parsing during the configuration step (very slow to open and high memory usage even with “small” log file) but mainly the visualization of the groups (not at the right place as shown in the original message).

[new 13.txt](https://forum.knime.com/uploads/short-url/kDmY29LPHYhFBclGx7fqBcVXr9p.txt) (71,2 Ko)  
[Log\_File\_project.knwf](https://forum.knime.com/uploads/short-url/18qVgbH05c17OSFUkhWoQoONFu5.knwf) (75,5 Ko)

Best regards.

Pascal

---

<div class="post-metadata">

**Author:** ![qqilihq](https://forum-cdn.knime.com/user_avatar/forum.knime.com/qqilihq/32/50_2.png) [@qqilihq](https://forum.knime.com/u/qqilihq)\
**Post date:** [March 12, 2021, 6:33pm UTC](https://forum.knime.com/t/regex-extractor-troubles/31402/4 "2021-03-12T18:33:24Z")

</div>

Hi Pascal,

perfect, many thanks! I will check this and keep the thread updated!

–Philipp

---

<div class="post-metadata">

**Author:** ![qqilihq](https://forum-cdn.knime.com/user_avatar/forum.knime.com/qqilihq/32/50_2.png) [@qqilihq](https://forum.knime.com/u/qqilihq)\
**Post date:** [March 29, 2021, 7:17am UTC](https://forum.knime.com/t/regex-extractor-troubles/31402/5 "2021-03-29T07:17:57Z")

</div>

Hi again,

thanks again for reporting this – it should be fixed in the recent [version 2.4.1](https://nodepit.com/product/palladian/changelog).

Best,  
Philipp

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [April 21, 2023, 9:38pm UTC](https://forum.knime.com/t/regex-extractor-troubles/31402/6 "2023-04-21T21:38:12Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
