sed -i -E "s/еж([аиу][^а-я])/ёжик\1/g" *ru*
grep -E "еж[аиу][^а-я]" *ru*
Comment: [^а-я] includes all spaces and punctuation and also finish of string
[package]
name = "lib-hedgewars-engine"
version = "0.1.0"
authors = ["Andrey Korotaev <a.korotaev@hedgewars.org>"]
edition = "2018"
[dependencies]
gfx = "0.17"
gfx_device_gl = "0.15"
netbuf = "0.4"
fpnum = { path = "../fpnum" }
land2d = { path = "../land2d" }
lfprng = { path = "../lfprng" }
integral-geometry = { path = "../integral-geometry" }
landgen = { path = "../landgen" }
hedgewars-engine-messages = { path = "../hedgewars-engine-messages" }
hwphysics = { path = "../hwphysics" }
[lib]
name = "hedgewars_engine"
crate-type = ["dylib"]