I Ty możesz wspomóc rozwój serwisu dzięki dobrowolnej dotacji za pośrednictwem PayPal!
Kliknij w poniższą grafikę, aby pomóc. Dziękuję!
Informacja zostanie zamknięta za sekund(y).
Wyrażenia regularne wpisuje się w formie separator{wyrażenie}separator, np. /^([a-z]*)$/i lub @^(?:http://)?([^/]+)@i. Stosować można wszelkie formy zgodne z funkcjami sprawdzającymi poprawność wyrażeń regularnych w PHP (przykład).
Dzieje się tak dlatego, że wpisywanie wzorca z uwzględnieniem separatorów pozwala na dodanie modyfikatorów do niego. W wypadku ich braku skrypt domyślnie doda / na początku wyrażenia i / na jego końcu.
Generalnie to użytkownik wyznacza jaką treść i pod jakim kątem chce testować. Musi on jednak posiadać pełne prawa do publikacji testowanej treści, gdyż będzie ona dostępna dla innych internautów. Należy także unikać wpisywania zwrotów obscenicznych, wulgarnych, czy wskazujących zasoby niezgodne z polskim prawem. Użytkownik ponosi pełną odpowiedzialność za treści publikowane przez niego w serwisie. Na uzasadnioną prośbę osób trzecich poszczególne wpisy mogą zostać usunięte z serwisu.
Wyrażeniami regularnymi nazywami wzorce opisujące ciąg znaków.
W sieci znajduje się całe morze przykładowych wyrażeń. Warto zainteresować się przykładowo:
Zauważone błędy proszę zgłaszać w komentarzach pod tym artykułem.
Tak. Przy każdym sprawdzonym wzorcu, w kolumnie identyfikatora, znajduje się odnośnik do strony testowanego wyrażenia. Wystarczy skopiować odnośnik i podzielić się nim ze znajomymi.
Osoby chętne do pomocy mogą jej udzielić w następujący sposób:
Zmień język na polski.
Zmień język na angielski.
Pokaż/ukryj listę ostatnich testów.
Pokaż listę tylko moich testów.
Pokaż listę wszystkich testów.
Wyświetl zawartość kanału RSS.
Pokaż pomoc.
ID | Wyrażenie regularne | Ciąg znaków | Wynik | Zwracane ciągi znaków | Link |
---|---|---|---|---|---|
432213 | /[Ee]lectric\w?.{1,10}car\w?/ | electric cars electrics car They are similar in the below ways, electric jest good cars ala 1) Both converts energy from one form to another form. Generator -> Converts mechanical energy to electrical energy, wheras Motor's operation is vice versa its converts electrical energy to mechanical energy. 2) Both are rotating devices. They have rotor inside them which rotates to create the field. Whereas transformer is static device, which does not have a rotating part inside it. 1.1k Views · View Upvoters Your response is private. Is this answer still relevant and up to date? Related QuestionsMore Answers Below What are the differences and similarities between electric motor and a generator? What is the physics of an electric motor/generator? What is the difference between electric motor and electric generator? Explain DC generator and electric motor? How do electric motor and electric generator differ? Ask New Question Sherly Wang Sherly Wang, Chief Executive Officer Answered Mar 13 · Author has 193 answers and 78.5k answer views Electrical motors and generators are machines which either convert electrical energy inputs into forces or applied kinetic energy inputs into electrical energy. In principle, any electrical generator can also be operated as a motor and vice-versa. In practice they will often be optimized for one application or the other. All electrical machines operate due the same principles derived from the study of electro-magnetics. Therefore, it is appropriate to first discuss these underlying electromagnetic concepts as this is crucial for understanding their operation. However, before discussing these concepts it will also be useful to revise the concepts of vector algebra and vector calculus which are used extensively in this subject. 167 Views Promoted by SimScale Ensure thermal comfort and energy efficiency for buildings. Watch this free webinar to learn how to use CFD to comply with EN 15251 for energy and thermal comfort. Ivan Ling Ivan Ling, Ph. D. Electrical and Electronics Enginering & Nanotechnology, University of Southampton (2019) Answered Oct 21 2015 · Author has 51 answers and 47.1k answer views For ease of your understanding I will explain it in terms of DC machines (DC motor and DC generator). You could take a look at Induction machines after understanding the basics of DC machines. In construction, electrical generators and motors have the same structures: - A permanent magnet fixed on a rotating shaft - A commutator - Core and winding (this is where the electrical current is induced) - brush/contact (for DC machines) When you turn a DC motor, current will be induced in the winding, thus it is acting as a generator. If you pass a current through the generator, the shaft will turn, and thus, it is acting as a DC motor. If you consider the general structures (of a DC machine) without optimized electrical components, the motor and generator is practically the same thing. 2.7k Views · View Upvoters Manish Agarwal Manish Agarwal, works at Mumbai, Maharashtra, India Answered Oct 20 2015 Motors and generators are similar inthe sense that they are both electrical machines which have been built to take advantage of the physics of electromagnetism. Generally in the power plants we see synchronous generators there you will observe that sometimes generator operating as a motor as well as generator as well as induction machines depending upon the conditions. When the generator operates as a motor it takes the power from the grid which is not much reliable for the company. Depending upon the frequencies of plant and grid as well the condition changes 843 Views · View Upvoters Faiz Khan Faiz Khan, studied at Government Jobs and Careers in India Answered Feb 13 · Author has 408 answers and 65.5k answer views for understanding watch given electric generator project below 55 Views · View Upvoters Len Gould Len Gould, studied at University of Toronto Answered Mar 11 2017 · Author has 2.7k answers and 1m answer views Consider a pumped storage hydro-electric station. It has upper and lower water reservoirs, and a turbine impeller connected to the shaft of a motor-generator which is connected to the grid. When the grid needs power, the unit is run as a turbine-generator using water from the upper reservoir to run the unit. When the grid has excess power, the unit is run as a motor-pump which pumps water from the lower reservoir into the upper reservoir. 134 Views Related Questions Is a motor similar to a generator? Can an AC motor generate electricity? Which motors are used for electricity generation? What is inadequate electricity generation? Which small motor can generate electricity? What are electrical motor questions? If we turn a motor, will it generate electricity? How do electric motors and generators work? How is AC electricity car generated? What is electric is car generator? Ask New Question |
prawda |
|
Link |