# BroString

**URL:** <https://community.zeek.org/t/brostring/492>\
**Category:** Zeek\
**Created:** [April 9, 2004, 9:59am UTC](https://community.zeek.org/t/brostring/492 "2004-04-09T09:59:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tad](https://avatars.discourse-cdn.com/v4/letter/t/278dde/32.png) [@Tad](https://community.zeek.org/u/Tad)\
**Post date:** [April 9, 2004, 9:59am UTC](https://community.zeek.org/t/brostring/492/1 "2004-04-09T09:59:05Z")

</div>

broVern,  
&nbsp;&nbsp;&nbsp;&nbsp;I find that in the scan.l there is a regular expression  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"([^\\\n\"]|{ESCSEQ})\*\"  
&nbsp;&nbsp;&nbsp;&nbsp;I know that this expression is used for matching a BroString.But what does it mean?Does it mean there should not be a '\n' or '\' in the string?I try "liao\nliao" and "lsjf\ljf",but they run just ok.  
&nbsp;&nbsp;&nbsp;&nbsp;By the way,what is Serializer.h/.cc used for? Only for efficiency?  
&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;Thanks!

Tad

![face-1.gif](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/7f5001c5dfccf23f89ed2c0a0ef0a33efa496aa3.gif)

---

<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/brostring/492/2 "2022-05-06T15:36:59Z")

</div>

Closed on May 6, 2022, 3:36pm UTC


