There is the following block:

```
receive
... 
  {raw, Text} ->
      send(Socket, Text),
      master(State);
...
end.

```

I am wondering if it is possible to match a regexp in Text and have a simple clause if the Text matches.