# Syntax guide traefik rules parsing? " vs ' vs \` in HostSNI?

**URL:** <https://community.traefik.io/t/syntax-guide-traefik-rules-parsing-vs-vs-in-hostsni/5944>\
**Category:** Traefik v2\
**Tags:** tcp, file, docker\
**Created:** [May 8, 2020, 9:41am UTC](https://community.traefik.io/t/syntax-guide-traefik-rules-parsing-vs-vs-in-hostsni/5944 "2020-05-08T09:41:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisbecke](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/chrisbecke/32/2042_2.png) [@chrisbecke](https://community.traefik.io/u/chrisbecke)\
**Post date:** [May 8, 2020, 9:41am UTC](https://community.traefik.io/t/syntax-guide-traefik-rules-parsing-vs-vs-in-hostsni/5944/1 "2020-05-08T09:41:09Z")

</div>

I can't find a page that details whats legal syntax for traefik rules. Today I discovered that HostSNI only accepts a `` enclosed strings for example - a style of string quoting i've seen in various samples but not seen explained, and Host & HostRegEx seem to accept "" and '' enclosed strings as one would expect.

---

<div class="post-metadata">

**Author:** ![cakiwi](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/cakiwi/32/3205_2.png) [@cakiwi](https://community.traefik.io/u/cakiwi)\
**Post date:** [May 8, 2020, 11:44am UTC](https://community.traefik.io/t/syntax-guide-traefik-rules-parsing-vs-vs-in-hostsni/5944/2 "2020-05-08T11:44:26Z")

</div>

> **[Traefik Routers Documentation - Traefik](https://doc.traefik.io/traefik/routing/routers/)**
>
> In Traefik Proxy, a router is in charge of connecting incoming requests to the Services that can handle them. Read the technical documentation.

> Backticks or Quotes?
> 
> To set the value of a rule, use [backticks](https://en.wiktionary.org/wiki/backtick) ` or escaped double-quotes \" .
> 
> Single quotes `'` are not accepted as values are [Golang's String Literals](https://golang.org/ref/spec#String_literals).
