# Header sometimes not sticking to the top of the page

**URL:** <https://meta.discourse.org/t/header-sometimes-not-sticking-to-the-top-of-the-page/24469>\
**Category:** Bug\
**Created:** [2015 年1 月 27 日 00:27 UTC](https://meta.discourse.org/t/header-sometimes-not-sticking-to-the-top-of-the-page/24469 "2015-01-27T00:27:20Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

作者： ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
发布日期： [2015 年1 月 28 日 01:20 UTC](https://meta.discourse.org/t/header-sometimes-not-sticking-to-the-top-of-the-page/24469/11 "2015-01-28T01:20:37Z")

</div>

The reason it didn’t work is because using a `\b` in a “character class” is a “backspace” and `[^\b]` is equivalent to saying:

```
Match any character that is NOT the backspace character (ASCII 8)

```

Original regex for reference: `\bcategory-[^\b]+`

---

_[View the full topic](https://meta.discourse.org/t/header-sometimes-not-sticking-to-the-top-of-the-page/24469)._
