  We obtain a Bourgain-Br\'ezis-Mironescu formula on the limit behaviour of a
modified fractional Sobolev seminorm when $s\nearrow 1$, which is valid in
arbitrary bounded domains. In the case of extension domains, we recover the
classical result.
