Open VeryGoodDog opened 4 years ago
المتطلبات الأساسية
[x] ضع علامة X بين القوسين على هذا السطر إذا كنت قد فعلت كل ما يلي:
- أعادت إنتاج المشكلة في الوضع الآمن: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- اتبعت جميع الخطوات المعمول بها في دليل تصحيح الأخطاء: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- تحقق من الأسئلة الشائعة على لوحة الرسائل للحصول على حلول مشتركة: https://discuss.atom.io/c/faq
- تم التحقق من أن مشكلتك لم يتم تقديمها بالفعل: https://github.com/issues؟utf8=✓&q=is٪3Aissue+user٪3Aatom
- تم التحقق من عدم وجود حزمة Atom بالفعل توفر الوظائف الموصوفة: https://atom.io/packages
وصف
لن يعثر البحث في Project regex على أية نتائج تحتوي على أسطر جديدة. إذا كان البحث عن نص عادي يحتوي على سطر جديد فيه ، فلن يتم العثور على أية نتائج. هذا لا يحدث مع البحث عن الملفات ، فقط البحث عن المشروع.
خطوات التكاثر
- قم بإنشاء ملف يحتوي على
test test test
- البحث عن مشروع
test\s
مع تمكين regex ومعرفة أنه يجد نتيجة واحدة فقط عندما يجب العثور على اثنتين.- البحث عن مشروع
test
(بما في ذلك السطر الجديد الإضافي) في شريط البحث بدون تمكين regex وتأكد من أنه لا يعرض أي نتيجة عندما يجب أن يجد واحدة.
يستنسخ عدد المرات: 100٪
إصدارات
ذرة: 1.50.0 إلكترون: 5.0.13 كروم: 73.0.3683.121 العقدة: 12.0.0 macOS : 10.15.6 (19G73)
any updates on this? i'm experiencing the same.
Prerequisites
Description
The Find in Project regex will not find any results that contain newlines. If a plain text search has a newline in it, it will not find any results. This doesn't happen with file search, only project search.
Steps to Reproduce
test\s
with regex enabled and see that it finds only one result when it should find two.