Hi sir
 If i wanna build a pattern matching in C, how i use hyperscan or import it to my project?

Sent from Samsung Mobile



-------- Original message --------
From: hyperscan-request@lists.01.org
Date: 2016/10/19 2:00 AM (GMT+07:00)
To: hyperscan@lists.01.org
Subject: Hyperscan Digest, Vol 11, Issue 3


Send Hyperscan mailing list submissions to
hyperscan@lists.01.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/hyperscan
or, via email, send a message with subject or body 'help' to
hyperscan-request@lists.01.org

You can reach the person managing the list at
hyperscan-owner@lists.01.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Hyperscan digest..."


Today's Topics:

   1. HyperScan example (Hiep Pham)
   2. Re: HyperScan example (Nagaev Boris)


----------------------------------------------------------------------

Message: 1
Date: Tue, 18 Oct 2016 23:42:42 +0700
From: Hiep Pham <hieppso194@gmail.com>
To: hyperscan@lists.01.org
Subject: [Hyperscan] HyperScan example
Message-ID:
<CAJWhGX_XwyB7XL8PWR2+35Dfjzw1mzUPQJKROfmdcX1e8Ee-Rg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi sir.
I am a newbie in HyperScan so i don't know how to run a example of
HyperScan, i built successfully HyperScan. Can you give me detail
instruction to build and run a example based on HyperScan. Thank you.

Hiep.

--
Hanoi University Of Science And Technology ,
School of Information and Technology,
KDE Laboratory,
Pham Tuan Hiep,
phone: (+84) 918632952
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.01.org/pipermail/hyperscan/attachments/20161018/0bac74bb/attachment-0001.html>

------------------------------

Message: 2
Date: Tue, 18 Oct 2016 18:59:14 +0100
From: Nagaev Boris <bnagaev@gmail.com>
To: Hyperscan regular expression matching library
<hyperscan@lists.01.org>
Subject: Re: [Hyperscan] HyperScan example
Message-ID:
<CAFC_Vt7eCBUtbqk5UM=PD=V6VC0-b-5HJ1MKM-q5C+o+z_U7FQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Tue, Oct 18, 2016 at 5:42 PM, Hiep Pham <hieppso194@gmail.com> wrote:
> Hi sir.
>  I am a newbie in HyperScan so i don't know how to run a example of
> HyperScan, i built successfully HyperScan. Can you give me detail
> instruction to build and run a example based on HyperScan. Thank you.
>
> Hiep.
>
> --
> Hanoi University Of Science And Technology ,
> School of Information and Technology,
> KDE Laboratory,
> Pham Tuan Hiep,
> phone: (+84) 918632952

Hi Hiep,

You can find an example in file examples/simplegrep.c
It is grep-like tool, which looks for a pattern in a file and prints hits.

Build instructions:

    gcc -o simplegrep simplegrep.c $(pkg-config --cflags --libs libhs)

Usage:

    ./simplegrep <pattern> <input file>

Example:

    ./simplegrep int simplegrep.c


--
Best regards,
Boris Nagaev


------------------------------

Subject: Digest Footer

_______________________________________________
Hyperscan mailing list
Hyperscan@lists.01.org
https://lists.01.org/mailman/listinfo/hyperscan


------------------------------

End of Hyperscan Digest, Vol 11, Issue 3
****************************************