~{限|かぎ}り
As long as …, as far as …, to the limit of …
N3
V-dictionary / V-ている + {限|かぎ}り / i-adj + {限|かぎ}り / na-adj + な / である + {限|かぎ}り / N + である + {限|かぎ}り
~{限|かぎ}り has three main uses. 1: as long as state A lasts, B holds ({日本|にほん}にいる{限|かぎ}り、{日本|にほん}のルールを{守|まも}る). 2: within the range of knowledge or observation ({私|わたし}が{知|し}っている{限|かぎ}り = as far as I know). 3: to the limit (できる{限|かぎ}り, {力|ちから}の{限|かぎ}り). Learners confuse it with ~うちに; うちに means 'while you still can', whereas {限|かぎ}り means 'as long as the condition holds, the result stays'. It is slightly formal and common in rules and promises.
Examples
この会社で働いている限り、安全のルールは守らなければならない。
As long as you work at this company, you must follow the safety rules.
私が知っている限り、山田さんは一度も遅刻したことがない。
As far as I know, Yamada has never been late.
できる限り、利用者さんの気持ちを大切にしたいです。
I want to respect the residents' feelings as much as I possibly can.
Exercises
1.私が見た 、機械に問題はありませんでした。
2.体が元気な 、この仕事を続けたいと思っています。