# malformed regular expression

**URL:** https://community.zeek.org/t/malformed-regular-expression/136
**Category:** Zeek
**Created:** [March 8, 2001, 12:47pm UTC](https://community.zeek.org/t/malformed-regular-expression/136 "2001-03-08T12:47:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Anderssen\_Magnus](https://avatars.discourse-cdn.com/v4/letter/a/977dab/32.png) [@Anderssen\_Magnus](https://community.zeek.org/u/Anderssen_Magnus)
#### Post date: [March 8, 2001, 12:47pm UTC](https://community.zeek.org/t/malformed-regular-expression/136/1 "2001-03-08T12:47:58Z")

</div>

Hi,

I'm getting this run-time error:

\<some time\> rune-time error: attempt to match to a malformed regular  
expression.

The problem is that I don't know where it occurs. (in which event, ...)  
Do I get this message when trying to write to a file a empty string returned  
by Bro?  
Is there a way to get more precise error message? To be able to correct my  
script.

Thanks

Magnus Anderssen

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)
#### Post date: [May 6, 2022, 3:36pm UTC](https://community.zeek.org/t/malformed-regular-expression/136/2 "2022-05-06T15:36:16Z")

</div>


