sed -i -E "s/еж([аиу][^а-я])/ёжик\1/g" *ru*
grep -E "еж[аиу][^а-я]" *ru*
Comment: [^а-я] includes all spaces and punctuation and also finish of string
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal"
android:gravity="center_vertical">
<ImageView
android:id="@+id/arrow"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="8"
android:src="@drawable/arrow"
android:adjustViewBounds="true"/>
<RelativeLayout
android:id="@+id/container"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:gravity="center"
android:background="@drawable/box_dark">
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="This package will higher quality sounds better sounds"/>
<Button
android:id="@+id/download"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@id/text"
android:layout_below="@id/text"
android:text="@string/download_downloadnow"/>
<Button
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignRight="@id/text"
android:layout_below="@id/text"
android:text="@android:string/no"/>
</RelativeLayout>
</LinearLayout>